Comparison operations in memory

ABSTRACT

One example of the present disclosure includes performing a comparison operation in memory using a logical representation of a first value stored in a first portion of a number of memory cells coupled to a sense line of a memory array and a logical representation of a second value stored in a second portion of the number of memory cells coupled to the sense line of the memory array. The comparison operation compares the first value to the second value, and the method can include storing a logical representation of a result of the comparison operation in a third portion of the number of memory cells coupled to the sense line of the memory array.

PRIORITY INFORMATION

This application is a Continuation of U.S. application Ser. No.16/681,523, filed Nov. 8, 2016, which issues as U.S. Pat. No. 10,839,892on Nov. 17, 2020, which is a Continuation of U.S. application Ser. No.15/346,526, filed Nov. 8, 2016, which issued as U.S. Pat. No. 10,490,257on Nov. 26, 2019, which is a Divisional of U.S. application Ser. No.14/715,001 filed May 18, 2015, which issued as U.S. Pat. No. 9,496,023on Nov. 15, 2016, which claims benefit of priority under 35 U.S.C.119(e) to U.S. Provisional Application Ser. No. 62/008,007, filed Jun.5, 2014, the specification of which is incorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates generally to semiconductor memoryapparatuses and methods, and more particularly, to apparatuses andmethods related to performing comparison operations in a memory.

BACKGROUND

Memory devices are typically provided as internal, semiconductor,integrated circuits in computers or other electronic systems. There aremany different types of memory including volatile and non-volatilememory. Volatile memory can require power to maintain its data (e.g.,host data, error data, etc.) and includes random access memory (RAM),dynamic random access memory (DRAM), static random access memory (SRAM),synchronous dynamic random access memory (SDRAM), and thyristor randomaccess memory (TRAM), among others. Non-volatile memory can providepersistent data by retaining stored data when not powered and caninclude NAND flash memory, NOR flash memory, and resistance variablememory such as phase change random access memory (PCRAM), resistiverandom access memory (RRAM), and magnetoresistive random access memory(MRAM), such as spin torque transfer random access memory (STT RAM),among others.

Electronic systems often include a number of processing resources (e.g.,one or more processors), which may retrieve and execute instructions andstore the results of the executed instructions to a suitable location. Aprocessor can comprise a number of functional units (e.g., hereinreferred to as functional unit circuitry (FUC)) such as arithmetic logicunit (ALU) circuitry, floating point unit (FPU) circuitry, and/or acombinatorial logic block, for example, which can execute instructionsto perform logical operations such as AND, OR, NOT, NAND, NOR, and XORlogical operations on data (e.g., one or more operands).

A number of components in an electronic system may be involved inproviding instructions to the functional unit circuitry for execution.The instructions may be generated, for instance, by a processingresource such as a controller and/or host processor. Data (e.g., theoperands on which the instructions will be executed to perform thelogical operations) may be stored in a memory array that is accessibleby the FUC. The instructions and/or data may be retrieved from thememory array and sequenced and/or buffered before the FUC begins toexecute instructions on the data. Furthermore, as different types ofoperations may be executed in one or multiple clock cycles through theFUC, intermediate results of the operations and/or data may also besequenced and/or buffered.

In many instances, the processing resources (e.g., processor and/orassociated FUC) may be external to the memory array, and data can beaccessed (e.g., via a bus between the processing resources and thememory array to execute instructions). Data can be moved from the memoryarray to registers external to the memory array via a bus.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an apparatus in the form of a computingsystem including a memory device in accordance with a number ofembodiments of the present disclosure.

FIG. 2A illustrates a schematic diagram of a portion of a memory arrayin accordance with a number of embodiments of the present disclosure.

FIG. 2B illustrates a timing diagram associated with performing a numberof logical operations using sensing circuitry in accordance with anumber of embodiments of the present disclosure.

FIGS. 2C-1 and 2C-2 illustrate timing diagrams associated withperforming a number of logical operations using sensing circuitry inaccordance with a number of embodiments of the present disclosure.

FIGS. 2D-1 and 2D-2 illustrate timing diagrams associated withperforming a number of logical operations using sensing circuitry inaccordance with a number of embodiments of the present disclosure.

FIG. 2E illustrates a schematic diagram of a portion of a memory arraycoupled to sensing circuitry in accordance with a number of embodimentsof the present disclosure.

FIG. 3A illustrates a logical diagram showing the states of cells of aportion of an array at a particular phase associated with performing aserial comparison operation in accordance with a number of embodimentsof the present disclosure.

FIG. 3B illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 3C illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 3D illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 3E illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 3F illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 3G illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 3H illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 3I illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 3J illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 3K illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 3L illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 3M illustrates a logical diagram showing the states of the cells ofarray portion at a particular phase associated with performing acomparison operation.

FIG. 4 illustrates a schematic diagram of sensing circuitry inaccordance with a number of embodiments of the present disclosure.

FIG. 5 illustrates a schematic diagram of a portion of sensing circuitryin accordance with a number of embodiments of the present disclosure.

FIG. 6A illustrates a timing diagram associated with performing a numberof logical operations using sensing circuitry in accordance with anumber of embodiments of the present disclosure.

FIG. 6B illustrates a timing diagram associated with performing a numberof logical operations using sensing circuitry in accordance with anumber of embodiments of the present disclosure.

FIG. 7 is a schematic diagram illustrating sensing circuitry havingselectable logical operation selection logic in accordance with a numberof embodiments of the present disclosure.

FIG. 8 is a logic table illustrating selectable logic operation resultsimplemented by a sensing circuitry in accordance with a number ofembodiments of the present disclosure.

DETAILED DESCRIPTION

The present disclosure includes apparatuses and methods related tocomparison operations for memory. An example of logical values storablein a bit-vector (e.g., in a memory array) comprises a first addressspace comprising memory cells coupled to a sense line and to a firstnumber of select lines. The memory cells of the first address space canstore a first value. A second address space comprises memory cellscoupled to the sense line and to a second number of select lines. Thememory cells of the second address space can store a second value. Theresults of the comparison operation are stored in a third address spacecomprising memory cells coupled to the sense line and to a third numberof select lines. The memory cells of the third address space can store alogical representation of the result of the comparison operation.

As used herein, the first value and the second value are numericalvalues that are compared against each other. That is, the first valuecan be compared to the second value and/or the second value can becompared to the first value. A comparison operation can determinewhether the first value is greater than the second value, whether thesecond value is greater than the first value, and/or whether the firstvalue is equal to the second value.

A number of embodiments of the present disclosure can provide areduction of the number of computations and a time involved inperforming a number of comparison operations (e.g., comparisonfunctions) over previous approaches. The computations and the time canbe reduced because the number of comparison operations can be performedin parallel (e.g., simultaneously). Performing the number of comparisonoperations in parallel can reduce the computations involved inperforming the number of comparison operations. Performing a number ofcomparison operations in parallel can also reduce power consumption inperforming a number of computations. For instance, a number ofembodiments can provide for performing a comparison operation using data(e.g., a first value and a second value) stored logically (e.g., inbinary form in a number of memory cells in a memory array). Theembodiment can perform a comparison operation without transferring dataout of the memory array and/or sensing circuitry via a bus (e.g., databus, address bus, control bus, etc.). A comparison operation can involveperforming a number of logical operations (e.g., AND, OR, XOR, etc.).However, embodiments are not limited to these examples.

In previous approaches, data (e.g., a first value and a second value)may be transferred from the array and sensing circuitry to a number ofregisters via a bus comprising input/output (I/O) lines. The number ofregisters can be used by a processing resource such as a processor,microprocessor, and/or compute engine, which may comprise ALU circuitryand/or other functional unit circuitry configured to perform theappropriate logical operations. However, only a single comparisonfunction can be performed by the ALU circuitry. Transferring datato/from memory from/to registers via a bus can involve significant powerconsumption and time requirements. Even if the processing resource islocated on a same chip as the memory array, significant power can beconsumed in moving data out of the array to the compute circuitry, whichcan involve performing a sense line address access (e.g., firing of acolumn decode signal) in order to transfer data from sense lines ontoI/O lines, moving the data to the array periphery, and providing thedata to a register in association with a comparison function, forinstance.

In the following detailed description of the present disclosure,reference is made to the accompanying drawings that form a part hereof,and in which is shown by way of illustration how one or more embodimentsof the disclosure may be practiced. These embodiments are described insufficient detail to enable those of ordinary skill in the art topractice the embodiments of this disclosure, and it is to be understoodthat other embodiments may be utilized and that process, electrical,and/or structural changes may be made without departing from the scopeof the present disclosure. As used herein, the designators “N,” “M,”“F,” “R,” and “P” particularly with respect to reference numerals in thedrawings, indicates that a number of the particular feature sodesignated can be included. As used herein, “a number of” a particularthing can refer to one or more of such things (e.g., a number of memoryarrays can refer to one or more memory arrays).

The figures herein follow a numbering convention in which the firstdigit or digits correspond to the drawing figure number and theremaining digits identify an element or component in the drawing.Similar elements or components between different figures may beidentified by the use of similar digits. For example, 204 may referenceelement “04” in FIG. 2A, and a similar element may be referenced as 304in FIG. 3A. As will be appreciated, elements shown in the variousembodiments herein can be added, exchanged, and/or eliminated so as toprovide a number of additional embodiments of the present disclosure. Inaddition, as will be appreciated, the proportion and the relative scaleof the elements provided in the figures are intended to illustratecertain embodiments of the present invention, and should not be taken ina limiting sense

FIG. 1 is a block diagram of an apparatus in the form of a computingsystem 100 including a memory device 160 in accordance with a number ofembodiments of the present disclosure. As used herein, a memory device160, a memory array 130, and/or sensing circuitry 150 might also beseparately considered an “apparatus.”

System 100 includes a host 110 coupled to memory device 160, whichincludes a memory array 130. Host 110 can be a host system such as apersonal laptop computer, a desktop computer, a digital camera, a mobiletelephone, or a memory card reader, among various other types of hosts.Host 110 can include a system motherboard and/or backplane and caninclude a number of processing resources (e.g., one or more processors,microprocessors, or some other type of controlling circuitry). Thesystem 100 can include separate integrated circuits or both the host 110and the memory device 160 can be on the same integrated circuit. Thesystem 100 can be, for instance, a server system and/or a highperformance computing (HPC) system and/or a portion thereof. Althoughthe example shown in FIG. 1 illustrates a system having a Von Neumannarchitecture, embodiments of the present disclosure can be implementedin non-Von Neumann architectures (e.g., a Turing machine), which may notinclude one or more components (e.g., CPU, ALU, etc.) often associatedwith a Von Neumann architecture.

For clarity, the system 100 has been simplified to focus on featureswith particular relevance to the present disclosure. The memory array130 can be a DRAM array, SRAM array, STT RAM array, PCRAM array, TRAMarray, RRAM array, NAND flash array, and/or NOR flash array, forinstance. The array 130 can comprise memory cells arranged in rowscoupled by select lines (which may be referred to herein as word linesor access lines) and columns coupled by sense lines (which may bereferred to herein as digit lines or data lines). Although a singlearray 130 is shown in FIG. 1, embodiments are not so limited. Forinstance, memory device 160 may include a number of arrays 130 (e.g., anumber of banks of DRAM cells). An example DRAM array is described inassociation with FIG. 2A.

The memory device 160 includes address circuitry 142 to latch addresssignals provided over an I/O bus 156 (e.g., a data bus) through I/Ocircuitry 144. Address signals are received and decoded by a row decoder146 and a column decoder 152 to access the memory array 130. In a numberof examples, address signals can be decoded by more or fewer rowdecoders. For example, memory device can include three row decoders. Asused herein, a row decoder may be referred to as a select decoder. Datacan be read from memory array 130 by sensing voltage and/or currentchanges on the sense lines using sensing circuitry 150. The sensingcircuitry 150 can read and latch a page (e.g., row) of data from thememory array 130. The I/O circuitry 144 can be used for bi-directionaldata communication with host 110 over the I/O bus 156. The writecircuitry 148 is used to write data to the memory array 130.

In a number of examples, the term decoding can include a pre-decoding,final-decoding, and/or any other type of decoding that is carried out inrow decoder 146 and/or column decoder 152. In a number of examples, theterm pre-decoding includes circuitry implementing pre-decoding processsuch that addresses are not discretely addressed. The term pre-decodingand decoding can be used herein to differentiate between the termsdiscretely addressable lines, and/or individually addressable lines.

In a number of examples, a number of select lines and/or sense lines inmemory array 130 can be individually addressed and/or decodedindependently from the other select lines and/or sense lines of memoryarray 130. As used herein, a discrete address can be an address thatdoes not require decoding in order to activate a particular select line.For example, address circuitry 142 can receive an address associatedwith a number of select lines that can be activated without decoding anaddress associated with the number of select lines. In a number ofexamples, individually addressed rows and/or discretely addresses rowscan be referred to as fully decoded rows. The memory cells associatedwith memory array 130 can comprise memory cells otherwise used in DRAMarrays, SRAM arrays, STT RAM arrays, PCRAM arrays, TRAM arrays, RRAMarrays, NAND flash arrays, and/or NOR flash arrays, among other memoryconfigurations, for instance.

Control circuitry 140 decodes signals provided by control bus 154 fromthe host 110. These signals can include chip enable signals, writeenable signals, and address latch signals that are used to controloperations performed on the memory array 130, including data read, datawrite, and data erase operations. In various embodiments, the controlcircuitry 140 is responsible for executing instructions from the host110. The control circuitry 140 can be a state machine, a sequencer, orsome other type of controller.

An example of the sensing circuitry 150 is described further below inassociation with FIG. 2A and FIGS. 3A-3M. For instance, in a number ofembodiments, the sensing circuitry 150 can comprise a number of senseamplifiers and a number of compute components, which may comprise anaccumulator and can be used to perform logical operations (e.g., on dataassociated with complementary sense lines). In a number of embodiments,the sensing circuitry (e.g., 150) can be used to perform comparisonoperations using data stored in array 130 as inputs and store theresults of the comparison operations back to the array 130 withouttransferring via a sense line address access (e.g., without firing acolumn decode signal). Memory cells coupled to select lines and senselines in memory array 130 can serve as temporary storage (e.g.,registers) during the performance of the comparison operations and/orcomputations involved in performing the comparison operations. As such,a comparison function can be performed using sensing circuitry 150rather than and/or in addition to being performed by processingresources external to the sensing circuitry (e.g., by a processorassociated with host 110 and/or other processing circuitry, such as ALUcircuitry, located on device 160 (e.g., on control circuitry 140 orelsewhere)).

In various previous approaches, data associated with a comparisonoperation, for instance, would be read from memory via sensing circuitryand provided to an external ALU. The external ALU circuitry wouldperform the comparison functions using the operands and the result couldbe transferred back to the array via the local I/O lines. In contrast,in a number of embodiments of the present disclosure, sensing circuitry(e.g., 150) is configured to perform a comparison operation on datastored in memory cells in memory array 130 and store the result back tothe array 130 without enabling a local I/O line coupled to the sensingcircuitry.

As such, in a number of embodiments, registers and/or an ALU external toarray 130 and sensing circuitry 150 may not be needed to perform thecomparison function as the sensing circuitry 150 can perform theappropriate computations involved in performing the comparison functionusing the address space of memory array 130. Additionally, thecomparison function can be performed without the use of an externalprocessing resource.

FIG. 2A illustrates a schematic diagram of a portion of a memory array230 in accordance with a number of embodiments of the presentdisclosure. In this example, the memory array 230 is a DRAM array of1T1C (one transistor one capacitor) memory cells 270-0, 270-1, 270-2, .. . , 270-N−1, 270-N (e.g., referred to collectively as memory cells270) each comprised of an access device 202 (e.g., transistor) and astorage element 203 (e.g., a capacitor).

In a number of embodiments, the memory cells 270 are destructive readmemory cells (e.g., reading the data stored in the cell destroys thedata such that the data originally stored in the cell is refreshed afterbeing read). The memory cells 270 are arranged in rows coupled by selectlines 204-0 (Row0), 204-1 (Row1), 204-2 (Row2), . . . , 204-N−1(RowN−1), 204-N (RowN) (e.g., referred to collectively as select lines204) and columns coupled by sense lines (e.g., digit lines) 205-0 (D)and 205-1 (D_) (e.g., referred to collectively as sense lines 205). In anumber of embodiments, the array 230 can include address spaces that arecoupled to separate circuitry.

In this example, each column of cells is associated with a pair ofcomplementary sense lines 205-0 (D) and 205-1 (D). The structureillustrated in FIG. 2A may be used to provide many complimentary senselines 205, select lines 204 and/or memory cells 270). Although only asingle column of memory cells 270 is illustrated in FIG. 2A, embodimentsare not so limited. For instance, a particular array may have a numberof columns of cells and/or sense lines (e.g., 4,096, 8,192, 16,384,etc.). In FIG. 2A, memory cells 270 are coupled to sense line 205-0. Agate of a particular cell transistor 202 is coupled to its correspondingselect line 204-0 to 204-N (e.g., referred to collectively as selectlines 204), a first source/drain region is coupled to its correspondingsense line 205-0, and a second source/drain region of a particular celltransistor is coupled to its corresponding capacitor, e.g., capacitor203. Although not illustrated in FIG. 2A, the sense line 205-1 may alsohave memory cells coupled thereto.

In a number of examples, memory cells 270 that are coupled to sense line205-0 can store bits. The bits can represent a logical representation ofa value and/or a number of values (e.g., first value, second value, atemporary value, and/or result value). For example, a first value can berepresented by a three bit-vector that can be stored in memory cell270-0, memory cell 270-1, and memory cell 270-2 along sense line 205-0.In a number of examples, a bit-vector can be represented by more orfewer bits than those discussed in FIG. 2A. Other examples are discussedin connection with FIGS. 3A-3M. For example, the first value can berepresented by a 4-bit vector, a 8 bit-vector, a 16 bit-vector, and/or a32 bit-vector, among other bit-vector dimensions. In a number ofexamples, each bit-vector representation of a value can be storedhorizontally along select lines 204 as opposed to vertically along senselines 205.

Each bit-vector logical representation of a value can be indexed. Forexample, a bit stored in memory cell 270-0 can be associated with afirst index, a bit stored in memory cell 270-1 can be associated with asecond index, and a bit stored in memory cell 270-2 can be associatedwith a third index. As an example, the third index can indicate a mostsignificant bit (MSB) of a stored bit-vector and the first index canindicate a least significant bit (LSB) of the stored bit-vector. In anumber of examples, a comparison operation can be performed by comparingthe bits that represent a logical representation of the first value tothe bits that represent a logical representation of the second value.The comparison operation can be performed by first comparing a mostsignificant bit from the logical representation of the first value to amost significant bit from the logical representation of the secondvalue. The comparison operation can continue by comparing a next mostsignificant bit from the logical representation of the first value to anext most significant bit from the logical representation of the secondvalue. A next most significant bit can represent a bit that isassociated with an index that is decremented every time an iteration ofthe comparison operation is performed.

The indexing used in association with FIG. 2A is demonstrative and notlimiting. Other indexing systems and/or orders can be employed in anumber of embodiments. For examples, a bit stored in memory 270-2 can beassociated with a first index, a bit stored in memory cell 270-1 can beassociated with a second index, and a bit stored in memory cell 270-3can be associated with a third index. Furthermore, the operationsdescribed herein can be performed using a number of different layoutsand/or memory cell orientations.

A number of values can be stored in each of the sense lines of memoryarray 230. For example, memory cells 270-0, 270-1, 270-2 can store anumber of bits that represent a first value, memory cells 270-3, 270-4,270-5 can store a number of bits that represent a second value, memorycell 270-6 can store a number of bits that represent a first temporaryvalue, memory cell 270-7 can store a number of bits that represent asecond temporary value, and memory cells 270-8, 270-9 can store a numberof bits that represent a result of the comparison operation while memorycell 270-4 to memory cell 270-9 are not illustrated in FIG. 2A they areincluded in the range of memory cells 270-0 . . . 270-N. Memory cells270-0 to 270-9 as shown coupled to a first sense line. Memory cellscoupled to a different sense line can store a number of bits thatrepresent a different first value, a different second value, a differentfirst temporary value, a different second temporary value, and/or adifferent result of a different comparison operation.

In a number of examples, the memory cells coupled to a select line 204-0and to a number of sense lines (e.g., sense line 205-0 and sense line205-1) can be activated in parallel. Furthermore, memory cell 270-0,memory cell 270-1, memory cell 270-2, memory cell 270-3 can also beactivated in parallel by activating select line 204-0, select line204-1, select line 204-2, and select line 204-3 in parallel. In a numberof examples, independently addressed select lines 204 and/or sense lines205 can be activated in parallel to activate a number of memory cells inparallel.

The sensing circuitry 250 comprises a sense amplifier 206 and a computecomponent 231. The sensing circuitry 250 can be sensing circuitry 150shown in FIG. 1. FIG. 2A also shows sensing circuitry 250 coupled to thememory array 230. The sense amplifier 206 is coupled to thecomplementary sense lines D, D_ corresponding to a particular column ofmemory cells. The sense amplifier 206 can be operated to determine astate (e.g., logic data value) stored in a selected cell (e.g., memorycells 270). Embodiments are not limited to a given sense amplifierarchitecture or type. For instance, sensing circuitry in accordance witha number of embodiments described herein can include current-mode senseamplifiers and/or single-ended sense amplifiers (e.g., sense amplifierscoupled to one sense line).

In a number of embodiments, a compute component 231 can comprise anumber of transistors formed on pitch with the transistors of the senseamplifier 206 and/or the memory cells 270 of the array (e.g., 230),which may conform to a particular feature size (e.g., 4F², 6F², etc.).As used herein, on pitch is used to describe circuitry that is coupledto a same sense line along a same column. As described further below,the compute component 231 can, in conjunction with the sense amplifier206, operate to perform a comparison operation using data from thememory cells 270 in the array 230 as input and store the result back tothe memory cells 270 in the array 230 without transferring the data viaa sense line address access (e.g., without firing a column decode signalsuch that data is transferred to circuitry external from the array andsensing circuitry via local I/O lines). As such, a number of embodimentsof the present disclosure can enable performing a comparison operationand computations associated therewith using less power than variousprevious approaches. Additionally, since a number of embodimentseliminate the need to transfer data across local I/O lines in order toperform compute functions, a number of embodiments can enable anincreased parallel processing capability using compute components 231and the memory cells 270 as compared to previous approaches.

In the example illustrated in FIG. 2A, the circuitry corresponding tocompute component 231 comprises five transistors coupled to each of thesense lines D and D_; however, embodiments are not limited to thisexample. Transistors 207-1 and 207-2 have a first source/drain regioncoupled to sense lines D and D_, respectively, and a second source/drainregion coupled to a cross coupled latch (e.g., coupled to gates of apair of cross coupled transistors, such as cross coupled NMOStransistors 208-1 and 208-2 and cross coupled PMOS transistors 209-1 and209-2). As described further herein, the cross coupled latch comprisingtransistors 208-1, 208-2, 209-1, and 209-2 can be referred to as asecondary latch (e.g., a cross coupled latch corresponding to senseamplifier 206 can be referred to herein as a primary latch).

The transistors 207-1 and 207-2 can be referred to as pass transistors,which can be enabled via respective signals 211-1 (Passd) and 211-2(Passdb) in order to pass the voltages or currents on the respectivesense lines D and D_ to the inputs of the cross coupled latch comprisingtransistors 208-1, 208-2, 209-1, and 209-2 (e.g., the input of thesecondary latch). In this example, the second source/drain region oftransistor 207-1 is coupled to a first source/drain region oftransistors 208-1 and 209-1 as well as to the gates of transistors 208-2and 209-2. Similarly, the second source/drain region of transistor 207-2is coupled to a first source/drain region of transistors 208-2 and 209-2as well as to the gates of transistors 208-1 and 209-1.

A second source/drain region of transistor 208-1 and 208-2 is commonlycoupled to a negative control signal 212-1 (Accumb). A secondsource/drain region of transistors 209-1 and 209-2 is commonly coupledto a positive control signal 212-2 (Accum). The Accum signal 212-2 canbe a supply voltage (e.g., Vcc) and the Accumb signal can be a referencevoltage (e.g., ground). Enabling signals 212-1 and 212-2 activate thecross coupled latch comprising transistors 208-1, 208-2, 209-1, and209-2 corresponding to the secondary latch. The activated cross coupledlatch operates to amplify a differential voltage between common node217-1 and common node 217-2 such that node 217-1 is driven to one of theAccum signal voltage and the Accumb signal voltage (e.g., to one of Vccand ground), and node 217-2 is driven to the other of the Accum signalvoltage and the Accumb signal voltage. As described further below, thesignals 212-1 and 212-2 are labeled “Accum” and “Accumb” because thesecondary latch can serve as an accumulator while being used to performa logical operation (e.g., a comparison operation). In a number ofembodiments, an accumulator comprises the cross coupled transistors208-1, 208-2, 209-1, and 209-2 forming the secondary latch as well asthe pass transistors 207-1 and 207-2. As described further herein, in anumber of embodiments, a compute component comprising an accumulatorcoupled to a sense amplifier can be configured to perform a logicaloperation that comprises performing an accumulate operation on a datavalue represented by a signal (e.g., voltage or current) on at least oneof a pair of complementary sense lines.

The compute component 231 also includes inverting transistors 214-1 and214-2 having a first source/drain region coupled to the respective digitlines D and D_. A second source/drain region of the transistors 214-1and 214-2 is coupled to a first source/drain region of transistors 216-1and 216-2, respectively. The gates of transistors 214-1 and 214-2 arecoupled to a signal 213 (InvD). The gate of transistor 216-1 is coupledto the common node 217-1 to which the gate of transistor 208-2, the gateof transistor 209-2, and the first source/drain regions of transistors208-1 and 209-1 are also coupled. In a complementary fashion, the gateof transistor 216-2 is coupled to the common node 217-2 to which thegate of transistor 208-1, the gate of transistor 209-1, and the firstsource/drain regions of transistor 208-2 and 209-2 are also coupled. Assuch, enabling signal InvD serves to invert the data value stored in thesecondary latch and drives the inverted value onto sense lines 205-0 and205-1.

In FIG. 2A, the compute component 231 is configured to perform acomparison operation. The following example will demonstrate how acomparison operation can be performed using data stored in array 230 asthe inputs, and how the result of the comparison operation can be storedin the array via operation of the sensing circuitry (e.g., senseamplifier 206 and compute component 231). The example involves using thedata values (e.g., bits having logic “1” or logic “0”) stored in thememory cells 270 coupled to select lines 204-0 to 204-N and commonlycoupled to sense line 205-0 as the respective inputs to the comparisonoperation. The result of the comparison operation can be stored back inmemory cells coupled to sense line 205-0.

As an example, the compute component 231 can use a first value and asecond value stored in a first portion and a second portion of a numberof memory cells 270 that are coupled to sense line 205-0. The firstportion can include a first number of memory cells, (e.g., memory cells270-0, 270-1, 270-2) in a first address space. The second portion caninclude a second number of memory cells (e.g., memory cells 270-3,270-4, 270-5) in a second address space. A result of the comparisonoperation can be stored in a third portion of memory cells 270 (e.g.,memory cells 270-8, 270-9) in a third address space.

Performing a comparison operation can include clearing the first portionof the memory cells 270 before a logical representation of the firstvalue is stored in the first portion of the memory cells 270. Performinga comparison operation can also include clearing the second portion ofthe memory cells 270 before a logical representation of the second valueis stored in the second portion of the memory cells 270. Performing acomparison operation can also include clearing the third portion of thememory cells 270 before the result of the comparison operation arestored in the third portion of the memory cells 270. Performing acomparison operation can further include clearing any other portions ofthe memory cells 270 before intermediary values (e.g., temporary values)used in performing the comparison operation are stored in the otherportion of the memory cells 270. Clearing a portion of memory cells 270comprises storing a number of pre-defined bits in the selected portionsof memory cells 270. The pre-defined bits can include zero data values(e.g., 0 bits), one data values (e.g., 1 bits) and/or any combination ofzero, one, and/or other data values.

A comparison operation can include determining whether the first valueis greater than the second value. In a number of examples, determiningwhether the first value is greater than the second value only identifieswhether the first value is greater, but does not identify whether thesecond value is greater than the first value and/or if the first valueis equal to the second value. For example, if the first value is notgreater than the second value, then the second value can be greater thanthe first value or the first value can be equal to the second value.

Accordingly, a comparison operation can also include determining whetherthe second value is greater than the first value. In a number ofexamples, however, determining whether the second value is greater thanthe first value only identifies whether the second value is greater, butdoes not identify whether the first value is greater than the secondvalue and/or if the second value is equal to the first value.

Hence, a comparison operation can also include determining whether thefirst value and the second value are equal. In a number of examples,determining whether the first value is equal to the second value onlyidentifies whether the first value and the second value are equal, butdoes not identify whether the first value is greater than the secondvalue or if the second value is greater than the first value.

As such, the comparison operations, described above, can be divided intoiterations of computations. As used herein, computations can describecomputation operations involved in performing the comparison operation.For example, a disjunction (e.g., OR) operation can be a computationand/or an addition operation can be a computation, among othercomputations. An iteration of the comparison can be associated with anindex. As such, each time an index is incremented or decremented a newiteration of the comparison operation can be initiated.

In a binary example, it can be determined whether the first value isequal to the second value by determining whether bits that are stored inthe first portion of memory cells are equal to bits that are stored inthe second portion of memory cells. The corresponding bits from thefirst portion of memory cells can be compared to the corresponding bitsfrom the second portion of memory cells. If a bit from the logicalrepresentation of the first value is equal to a corresponding bit fromthe logical representation of the second value, and if all previous bitsfrom the logical representation of the first value are equal to allcorresponding bits from the logical representation of the second value,then a number of bits can be stored in a third portion of memory cells270 (e.g., third address space) that indicates that the first value isequal to the second value.

The comparison operation can include determining whether moresignificant bits from the number of bit-pairs that are stored in thefirst portion of memory cells 270 and the second portion of memory cells270 are different before determining whether less significant bits fromthe number of bit-pairs that are stored in the first portion of memorycells 270 and the second portion of memory cells 270 are different. Forexample, in a three bit value, the comparison operation can includedetermining whether a bit stored in memory cell 270-2 from a number ofbits that are a logical representation of the first value is differentthan a bit stored in memory cell 270-5 from a number of bits that are alogical representation of the second value before determining whether abit stored in memory cell 270-0 from the number of bits that are alogical representation of the first value is different than a bit storedin memory cell 270-3 from the number of bits that are a logicalrepresentation of the second value. In the above example, the bit storedin memory cell 270-2 can be more significant than a bit stored in memorycell 270-0 and a bit stored in memory 270-5 can be more significant thana bit stored in memory cell 270-3.

Determining whether bits are different can include, determining whetherthe bit from the logical representation of the first value is greaterthan the corresponding bit from the logical representation of the secondvalue if the bit from the logical representation of the first value isnot equal to the corresponding bit from the logical representation ofthe second value. If the bit from the logical representation of thefirst value is greater than the corresponding bit from the logicalrepresentation of the second value, then a number of bits can be storedin a third portion of the number of memory cells (e.g., a third addressspace) that indicates that the first value is greater than the secondvalue. If the corresponding bit from the logical representation of thesecond value is greater than the bit from the logical representation ofthe first value, then a number of bits can be stored in a number ofmemory cells in the third address space that indicates that the secondvalue is greater than the first value.

Embodiments of the present disclosure are not limited to the particularsensing circuitry configuration illustrated in FIG. 2A. For instance,different compute component circuitry can be used to perform logicaloperations in accordance with a number of embodiments described herein.Although not illustrated in FIG. 2A, in a number of embodiments, controlcircuitry can be coupled to array 230, sense amplifier 206, and/orcompute component 231. Such control circuitry may be implemented on asame chip as the array and sensing circuitry and/or on an externalprocessing resource such as an external processor, for instance, and cancontrol enabling/disabling various signals corresponding to the arrayand sensing circuitry in order to perform logical operations asdescribed herein. Furthermore, although a single pair of complementarysense lines (205-0/205-1) are shown in FIG. 2A, array 230 can includemultiple complementary sense line pairs.

Example pseudocode providing a summary for performing comparisonoperations in a memory is given as follows:

tmp = getTemp(0); tmpset = getTmp(1); ClearOpenRow; WriteRow(tmpset);for (i = nbits−1; i >= 0; i−−){ ReadRow(srcA + i); XorRow(srcB + i);XorRow(tmpset); WriteRow(tmp); OrRow(tmpset); WriteRow(tmpset);ReadRow(srcA+i); AndRow(tmp); OrRow(dest); WriteRow(dest);ReadRow(srcB + i); AndRow(tmp); OrRow(dest + 1); WriteRow(dest + 1); If(! Acc_contains_any_zeros( )){ break; } }

In a number of embodiments, a comparison operation can be performedusing a clear operation, a write operation, a read operation, a wired ORoperation, an addition operation, a subtraction operation, and/or aninvert operation, among other operations that can be used to perform thecomparison operation. The above operations can be performed usingBoolean operations and non-Boolean operations. In a number ofembodiments, Boolean and non-Boolean operations can be performed usinglogical operations (e.g., NAND, AND, NOR, XOR, OR, etc.). For example,performing a comparison operation can include performing an additionoperation, a subtraction operation, an XOR operation, an OR operation,an AND operation, and/or a NOT operation, among other operations thatcan be used to perform the comparison operation. Performing an additionoperation can include performing an OR operation, a NAND operation,and/or a AND operation, among other operations that can be used toperform an addition operation. A subtraction operation can includeperforming a NAND operation, an OR operation, an AND operation, and/oran XOR operation, among other operation that can be used to perform thesubtraction operation. An example of performing NAND, AND, NOR, XOR andOR logical operations in conjunction with the compute component 231 isgiven in FIGS. 2B, 2C-1, 2C-2, 2D-1, 2D-2, and 2E.

A comparison operation can include creating a tmp value and a tmpsetvalue (e.g., “tmp=getTemp(0)” and “tmpset=getTmp(1)”). The tmp value andthe tmpset value can be values that are used as temporary storage.

The tmpset value represents whether it has been determined that thefirst value is not equal to the second value. That is, the tmpset valuerepresents whether a difference between the first value and the secondvalue has been identified.

The tmp value represents whether the next most significant bit from thefirst value is not equal to the corresponding next most significant bitfrom the second value.

A bit that is a logical representation of the tmp value can be set toone (e.g., “1”) if there is a difference between any of the associatedbits that represent the first value and the second value or can be setto zero (e.g., “0”) if a difference between the associated bits thatrepresent the first value and the second value has not been identified,if there is not a difference between the associated bits that representthe first value and the second value, and/or if a difference between theassociated bits does not contribute to the comparison operation. Thetmpset value can be set to one (e.g., “1”) if there is a differencebetween the first value and the second value or a zero (e.g., “0”) if adifference between the first value and the second value has not beenidentified.

In a number of examples, the tmp value and/or the tmpset value can bestored as a single bit in a single memory cell or the tmp value and/orthe tmpset value can be stored using a number of bits in a number ofmemory cells. In a number of examples, the tmp value and the tmpsetvalue can be represented as a single value and/or as distinct values. Asused in the example shown in FIG. 3A to FIG. 3M, the tmp value islogically represented using a single bit that is stored in a memory cellwhile the tmpset value is logically represented using a different singlebit that is stored in a different memory cell.

A comparison operation can include clearing (e.g., ClearOpenRow) acompute component 231 and/or an accumulator that is in the computecomponent 231 that is coupled to the memory array 230. A comparisonoperation can also include clearing a number of memory cells before avalue is stored in the memory cells. The cleared compute component 231can be used to clear the memory cells. As used herein, clearing a memorycell can include storing a predefined bit in a memory cell. For example,the comparison operation can include clearing the tmpset value and/or aresult value, among other values that can be cleared. A value can becleared, for example, by storing a zero (e.g., “0”) bit in the memorycells that store a logical representation of the value.

As used herein, the result value is also referred to as a destinationvalue. A first value can also be referred to as a srcA value as referredto in the above pseudocode. Moreover, a second value can be referred toas a srcB value as referred to in the above pseudocode. The first valueand the second value can be represented using a number of bits (e.g., 1,2, 4, 8, 16, 32, or 64 bits, among other number of bits). For example,each of the first value and the second value can be logicallyrepresented by three bits that can be stored in three memory cells.

A comparison operation can perform a number of calls for each bit indexthat is stored in a number of memory cells 270 by using a FOR loop. Asused herein, the number of calls that are performed for each bit indexthat is stored in the number of memory cells 270 are references to eachiteration of the comparison operation. For example, a number of callscan be implemented three times in three iterations where a bit-vectorthat is a logical representation of the first value includes three bits.A FOR loop (e.g., for (i=nbits-1; i>=0; i--)) can comprise setting anindex to a most significant index (e.g., i=nbits-1). For example, if thefirst value and the second value are each represented using a respectivethree bit-vector, then an index can be set to two (e.g., i=3-1). Theindex can be decremented by one (e.g., i--) each time the number ofcalls are implemented. That is, the index can be decremented by one eachtime an iteration of the FOR loop is completed. The comparison operationcan conclude when the index is less than zero (e.g., i<0). That is, thecomparison operation can continue while the index is greater than orequal to zero (e.g., i>=0).

Performing a comparison operation can include comparing associated bitsfrom the first value and the second value to determine whether the firstvalue is greater than the second value, whether the second value isgreater than the first value, and/or whether the first value is equal tothe second value. For example, a first value can be equal to a secondvalue if bit values that are stored in the first portion of the numberof memory cells are equal to bit values that are stored in the secondportions in the number of memory cells. That is, the corresponding bitsfrom the first portion of the number of memory cells can be compared tocorresponding bits from the second portion of the number of memorycells. For example, a “1” bit can be treated as larger than a “0” bit. A“0” bit can be treated as equal to a “0” bit.

Corresponding bits from the first value and the second value can includebits that are associated with a same index. For example, bits with ahigher index can be compared before bits with a lower index arecompared. That is, it can be determined whether bits with a first indexfrom the first value and the second value are equal before determiningwhether bits with a second index are equal. In a number of examples thefirst index can be more significant index than a second index.

A number of calls that are performed for each bit index can includereading a first value from the memory array. Reading a value from memorycan include latching each of the bits stored in a number of memory cells270 that comprise a logical representation of the value into the senseamplifier 206. The bits that are stored in a number of memory cells 270can be latched in order from most significant to least significant. In anumber of examples, a next most significant bit can be a bit that hasnot been compared and/or latched for a next iteration from a number ofiterations that are associated with the comparison operation. Forexample, during a first iteration of the comparison operation a readoperation (e.g., ReadRow(srcA+i)) can latch a bit with a third indexfrom a bit-vector that is stored in a number of memory cells that storea logical representation of the first value. During a second iterationof the comparison operation a read operation (e.g., “ReadRow(scrA+i))call can latch a bit with a second index. During a third iteration ofthe compare operation a read operation (e.g., ReadRow(scrA+i)) can latcha bit with a first index.

A number of calls that are performed for each bit index associated withthe first value and the second value can include performing an XORoperation (e.g., XorRow(srcB+i)) using, as input, a next mostsignificant bit from the first value and a next most significant bitfrom the second value. The above XOR operation (e.g., XorRow(srcB+i))can be used to compare the first value against the second value todetermine if the first value is equal to the second value. For example,during a first iteration of a comparison operation, a next mostsignificant bit with a third index from the number of memory cells thatstore the first value can be compared against a next most significantbit with a third index from the number of memory cells that store thesecond value to determine wither the third indexed bits are equal toeach other.

The number of calls that are performed for each bit index can includeperforming an XOR operation (e.g., XorRow(tmpset)) using the results ofthe previous XOR operation (e.g., XorRow(srcB+i)) and the correspondingtmpset value as input to determine whether a solution to the comparisonoperation has already been identified. A solution to the comparisonoperation can be identified when the comparison operation identifies thefirst value as being greater than the second value, the second value asbeing greater than the first value, or the first value being equal tothe second value.

A number of calls that are performed for each bit index can includeperforming a write operation (e.g., WriteRow(tmp)) to store the resultsof the previous XOR operation (e.g., XorRow(tmpset)) in a memory cell270 that stores a logical representation of a tmp value. The writeoperation (e.g., WriteRow(tmp)) can store a one (e.g., “1”) in anassociated memory cell if the next most significant bit from the firstvalue is not equal to the next most significant bit from the secondvalue.

A number of calls that are performed for each bit index can includeperforming an OR operation (e.g., OrRow(tmpset)) using the tmp value andthe tmpset value as input. The number of calls can also include a writeoperation (e.g., WriteRow(tmpset)) to store the results of the ORoperation (e.g., OrRow(tmpset)) to the memory cell 270 that stores alogical representation of the tmpset value. The previous OR operation(e.g., OrRow(tmpset)) and the write operation (e.g., WriteRow(tmpset))can update the tmpset value to identify whether a solution to thecomparison operation will be identified in a current iteration of thecomparison operation.

A number of calls that are performed for each bit index can include aread operation (e.g., ReadRow(srcA+i)) to latch a value stored in thememory cell that is associated with the next most significant bit of thefirst value. The number of calls can also include an AND operation(e.g., AndRow(tmp)) using the next most significant bit from the firstvalue and the tmp value as input to determine whether the first value isgreater than the second value. The number of calls that are performedfor each bit index can also include an OR operation (e.g., OrRow(dest))using, as input, the results of the previous AND operation (e.g.,AndRow(tmp)) and a bit stored in a memory cell that is associated withthe first value and stores a result value. The result of the previous ORoperation (e.g., OrRow(dest)) can be stored (e.g., WriteRow (dest)) inthe memory cell that stores a result value and that is associated withthe first value.

A number of calls that are performed for each bit index can also includea read operation (e.g., ReadRow(srcB+i)) to latch a value stored in thememory cell that is associated with the next most significant bit of thesecond value. The number of calls that are performed for each bit indexcan also include an AND operation (e.g., AndRow(tmp)) using, as input,the next most significant bit from the second value and the tmp value todetermine whether the second value is greater than the first value. Thenumber of calls that are performed for each bit index can also includean OR operation (e.g., OrRow(dest+1)) using, as input, the result of theprevious AND operation (e.g., AndRow(tmp)) and a bit stored in a memorycell that is associated with the second value and that stores a resultvalue. The result of the previous OR operation (e.g., OrRow(dest+1)) canbe stored (e.g., WriteRow(dest+1)) in the memory cell that is associatedwith the second value and that stores a result value.

A number of calls that are performed for each bit index can include abreak operation (e.g., break) to exit the FOR loop. The break operationcan exit the FOR loop based on the result of a WIRED OR operation (e.g.,!ACC_contains_any_zeroeso) to conclude the compare operation. As usedherein, a NOT operation is represented by the “!” symbol in thepseudocode above. As used herein a WIRED OR operation can includedetermining whether a number of compare operations for a number of firstvalues and a number of second values has concluded. A WIRED OR operationis further described in FIG. 2E. Determining whether the compareoperations for the number of first values and the second values hasconcluded can be based on the tmpset value associated with each of thecompare operations. For example, if all of the tmpset values are equalto one (e.g., “1”), then all of the comparison operations haveconcluded. A tmpset value that is associated with the comparisonoperation can be equal to one (e.g., “1”) when it has been determinedthat a first value is greater than a second value or a second value isgreater than a first value.

FIG. 2B illustrates a timing diagram 285-1 associated with performing anumber of logical operations using sensing circuitry in accordance witha number of embodiments of the present disclosure. Timing diagram 285-1illustrates signals (e.g., voltage signals) associated with performing afirst operation phase of a logical operation (e.g., an R-input logicaloperation). The first operation phase described in FIG. 2B can be afirst operation phase of an AND, NAND, OR, or NOR operation, forinstance. As described further below, performing the operation phaseillustrated in FIG. 2B can involve consuming significantly less energy(e.g., about half) than previous processing approaches, which mayinvolve providing a full swing between voltage rails (e.g., between asupply and ground) to perform a compute function.

In the example illustrated in FIG. 2B, the voltage rails correspondingto complementary logic values (e.g., “1” and “0”) are a supply voltage274 (VDD) and a ground voltage 272 (Gnd). Prior to performing a logicaloperation, equilibration can occur such that the complementary senselines D and D_ are shorted together at an equilibration voltage 225(VDD/2). Equilibration is described further below in association withFIG. 3.

At time t₁, the equilibration signal 226 is deactivated, and then aselected row is activated (e.g., the row corresponding to a memory cellwhose data value is to be sensed and used as a first input). Signal204-0 represents the voltage signal applied to the selected row (e.g.,row 204-0). When row signal 204-0 reaches the threshold voltage (Vt) ofthe access transistor (e.g., 202) corresponding to the selected cell,the access transistor turns on and couples the sense line D to theselected memory cell (e.g., to the capacitor 203 if the cell is a 1T1CDRAM cell), which creates a differential voltage signal between thesense lines D and D_ (e.g., as indicated by signals 205-0 and 205-1,respectively) between times t₂ and t₃. The voltage of the selected cellis represented by signal 203. Due to conservation of energy, creatingthe differential signal between D and D_ (e.g., by coupling the cell tosense line D) may not significantly consume energy, since the energyassociated with activating/deactivating the row signal 204 can beamortized over the plurality of memory cells coupled to the row.

At time t₃, the sense amplifier (e.g., 206) activates (e.g., a positivecontrol signal 290 (e.g., corresponding to ACT 590 shown in FIG. 5) goeshigh, and the negative control signal 228 (e.g., corresponding to RnIF528 shown in FIG. 5) goes low), which amplifies the differential signalbetween D and D_, resulting in a voltage (e.g., VDD) corresponding to alogic 1 or a voltage (e.g., ground) corresponding to a logic 0 being onsense line D (and the other voltage being on complementary sense lineD_), such that the sensed data value is stored in the primary latch ofsense amplifier 206. The primary energy consumption in this operationoccurs in charging the sense line D (205-0) from the equilibrationvoltage VDD/2 to the rail voltage VDD.

At time t₄, the pass transistors 207-1 and 207-2 are enabled (e.g., viarespective Passd and Passdb control signals applied to control lines211-1 and 211-2, respectively) as shown in FIGS. 2C-1 and 2C-2. Thecontrol signals 211-1 and 211-2 are referred to collectively as controlsignals 211 as shown in FIG. 2B. As used herein, various controlsignals, such as Passd and Passdb, may be referenced by referring to thecontrol lines to which the signals are applied. For instance, a Passdsignal can be referred to as control signal 211-1 in FIG. 2C-1. At timet₅, the accumulator control signals Accumb and Accum are activated viarespective control lines 212-1 and 212-2. As described below, theaccumulator control signals 212-1 and 212-2 may remain activated forsubsequent operation phases. As such, in this example, activating thecontrol signals 212-1 and 212-2 activates the secondary latch (e.g.,accumulator) of compute component 231. The sensed data value stored insense amplifier 206 is transferred (e.g., copied) to the secondarylatch.

At time t₆, the pass transistors 207-1 and 207-2 are disabled (e.g.,turned off); however, since the accumulator control signals 212-1 and212-2 remain activated, an accumulated result is stored (e.g., latched)in the secondary latch (e.g., accumulator). At time t₇, the row signal204-0 is deactivated, and the array sense amps are disabled at time t₈(e.g., sense amplifier control signals 228 and 290 are deactivated).

At time t₉, the sense lines D and D_ are equilibrated (e.g.,equilibration signal 226 is activated), as illustrated by sense linevoltage signals 205-0 and 205-1 moving from their respective rail valuesto the equilibration voltage 225 (VDD/2). The equilibration consumeslittle energy due to the law of conservation of energy. Equilibrationcan involve shorting the complementary sense lines D and D_ together atan equilibration voltage, which is VDD/2, in this example. Equilibrationcan occur, for instance, prior to a memory cell sensing operation.

FIGS. 2C-1 and 2C-2 illustrate timing diagrams 285-2 and 285-3,respectively, associated with performing a number of logical operationsusing sensing circuitry in accordance with a number of embodiments ofthe present disclosure. Timing diagrams 285-2 and 285-3 illustratesignals (e.g., voltage signals) associated with performing a number ofintermediate operation phases of a logical operation (e.g., an R-inputlogical operation wherein R is a variable number of inputs). Forinstance, timing diagram 285-2 corresponds to a number of intermediateoperation phases of an R-input NAND operation or an R-input ANDoperation, and timing diagram 285-3 corresponds to a number ofintermediate operation phases of an R-input NOR operation or an R-inputOR operation. For example, performing an AND or NAND operation caninclude performing the operation phase shown in FIG. 2C-1 one or moretimes subsequent to an initial operation phase such as that described inFIG. 2B. Similarly, performing an OR or NOR operation can includeperforming the operation phase shown in FIG. 2C-2 one or more timessubsequent to an initial operation phase such as that described in FIG.2B.

As shown in timing diagrams 285-2 and 285-3, at time t₁, equilibrationis disabled (e.g., the equilibration signal 226 is deactivated), andthen a selected row is activated (e.g., the row corresponding to amemory cell whose data value is to be sensed and used as an input suchas a second input, third input, etc.). Signal 204-1 represents thevoltage signal applied to the selected row (e.g., row 204-1). When rowsignal 204-1 reaches the threshold voltage (Vt) of the access transistor(e.g., 202) corresponding to the selected cell, the access transistorturns on and couples the sense line D to the selected memory cell (e.g.,to the capacitor 203 if the cell is a 1T1C DRAM cell), which creates adifferential voltage signal between the sense lines D and D_ (e.g., asindicated by signals 205-0 and 205-1, respectively) between times t₂ andt₃. The voltage of the selected cell is represented by signal 203. Dueto conservation of energy, creating the differential signal between Dand D_ (e.g., by coupling the cell to sense line D) may not consumeenergy, since the energy associated with activating/deactivating the rowsignal 204 can be amortized over the plurality of memory cells coupledto the row.

At time t₃, the sense amplifier (e.g., 206) activates (e.g., thepositive control signal 290 goes high, and the negative control signal228 goes low), which amplifies the differential signal between D and D_,resulting in a voltage (e.g., VDD) corresponding to a logic 1 or avoltage (e.g., ground) corresponding to a logic 0 being on sense line D(and the other voltage being on complementary sense line D_, such thatthe sensed data value is stored in the primary latch of sense amplifier206. The primary energy consumption in this operation occurs in chargingthe sense line D (205-0) from the equilibration voltage VDD/2 to therail voltage VDD.

As shown in timing diagrams 285-2 and 285-3, at time t₄ (e.g., after theselected cell is sensed), only one of control signals 211-1 (Passd) and211-2 (Passdb) is activated (e.g., only one of pass transistors 207-1and 207-2 in FIG. 2A is enabled), depending on the particular logicoperation. For example, since timing diagram 285-2 in FIG. 2C-1corresponds to an intermediate phase of a NAND or AND operation, controlsignal 211-1 is activated at time t₄ and control signal 211-2 remainsdeactivated. Conversely, since timing diagram 285-3 in FIG. 2C-2corresponds to an intermediate phase of a NOR or OR operation, controlsignal 211-2 is activated at time t₄ and control signal 211-1 remainsdeactivated. Recall from above in FIG. 2A that the accumulator controlsignals 212-1 (Accumb) and 212-2 (Accum) were activated during theinitial operation phase described in FIG. 2B, and they remain activatedduring the intermediate operation phase(s).

Since the accumulator was previously enabled, activating only Passd(e.g., 211-1 in FIG. 2C-1) results in accumulating the data valuecorresponding to the voltage signal 205-1. Similarly, activating onlyPassdb (e.g., 211-2 in FIG. 2C-2) results in accumulating the data valuecorresponding to the voltage signal 205-2. For instance, in an exampleAND/NAND operation (e.g., timing diagram 285-2 in FIG. 2C-1) in whichonly Passd (211-1) is activated, if the data value stored in theselected memory cell (e.g., a Row1 memory cell in this example) is alogic 0, then the accumulated value associated with the secondary latch(e.g., 290 in FIG. 2A), is asserted low such that the secondary latchstores logic 0. If the data value stored in the Row1 memory cell is nota logic 0, then the secondary latch retains its stored Row0 data value(e.g., a logic 1 or a logic 0). As such, in this AND/NAND operationexample, the secondary latch is serving as a zeroes (0s) accumulator.

Similarly, in an example OR/NOR operation (e.g., timing diagram 285-3 inFIG. 2C-2) in which only Passdb is activated, if the data value storedin the selected memory cell (e.g., a Row1 memory cell in this example)is a logic 1, then the accumulated value associated with the secondarylatch is asserted high such that the secondary latch stores logic 1. Ifthe data value stored in the Row1 memory cell is not a logic 1, then thesecondary latch retains its stored Row0 data value (e.g., a logic 1 or alogic 0). As such, in this OR/NOR operation example, the secondary latchis effectively serving as a ones (is) accumulator since voltage signal205-1 on D_ is setting the true data value of the accumulator.

At the conclusion of an intermediate operation phase such as that shownin FIGS. 2C-1 and 2C-2, the Passd signal (e.g., for AND/NAND) or thePassdb signal (e.g., for OR/NOR) is deactivated (e.g., at time t5), theselected row is deactivated (e.g., at time t6), the sense amplifier(e.g., 206 in FIG. 2A) is deactivated (e.g., at time t7), andequilibration occurs (e.g., at time t8). An intermediate operation phasesuch as that illustrated in FIG. 2C-1 or 2C-2 can be repeated in orderto accumulate results from a number of additional rows. As an example,the sequence of timing diagram 285-2 or 285-3 can be performed asubsequent (e.g., second) time for a Row2 memory cell, a subsequent(e.g., third) time for a Row3 memory cell, etc. For instance, for a10-input NOR operation, the intermediate phase shown in FIG. 2C-2 canoccur 9 times to provide 9 inputs of the 10-input logical operation,with the tenth input being determined during the initial operation phase(e.g., as described in FIG. 2B).

FIGS. 2D-1 and 2D-2 illustrate timing diagrams 285-4 and 285-5,respectively, associated with performing a number of logical operationsusing sensing circuitry in accordance with a number of embodiments ofthe present disclosure. Timing diagrams 285-4 and 285-5 illustratesignals (e.g., voltage signals) associated with performing a lastoperation phase of a logical operation (e.g., an R-input logicaloperation). For instance, timing diagram 285-4 in FIG. 2D-2 correspondsto a last operation phase of an R-input NAND operation or an R-input NORoperation, and timing diagram 285-5 in FIG. 2D-2 corresponds to a lastoperation phase of an R-input AND operation or an R-input OR operation.For example, performing a NAND operation can include performing theoperation phase shown in FIG. 2D-1 subsequent to a number of iterationsof the intermediate operation phase described in association with FIG.2C-1, performing a NOR operation can include performing the operationphase shown in FIG. 2D-1 subsequent to a number of iterations of theintermediate operation phase described in association with FIG. 2C-2,performing an AND operation can include performing the operation phaseshown in FIG. 2D-2 subsequent to a number of iterations of theintermediate operation phase described in association with FIG. 2C-1,and performing an OR operation can include performing the operationphase shown in FIG. 2D-2 subsequent to a number of iterations of theintermediate operation phase described in association with FIG. 2C-2.Table 1 shown below indicates the Figures corresponding to the sequenceof operation phases associated with performing a number of R-inputlogical operations in accordance with a number of embodiments describedherein.

TABLE 1 Operation FIG. 2B FIG. 2C-1 FIG. 2C-2 FIG. 2D-1 FIG. 2D-2 ANDFirst phase R-1 Last phase iterations NAND First phase R-1 Last phaseiterations OR First phase R-1 Last phase iterations NOR First phase R-1Last phase iterations

A NAND operation can be implemented, for example, by storing the resultof the R-1 iterations for an AND operation in the sense amplifier, theninverting the sense amplifier before conducting the last operation phaseto store the result (described below). A NOR operation can beimplemented, for example, by storing the result of the R-1 iterationsfor an OR operation in the sense amplifier, then inverting the senseamplifier before conducting the last operation phase to store the result(described below).

The last operation phases of FIGS. 2D-1 and 2D-2 are described inassociation with storing a result of an R-input logical operation to arow of the array (e.g., array 230 in FIG. 2A). However, as describedabove, in a number of embodiments, the result can be stored to asuitable location other than back to the array (e.g., to an externalregister associated with a controller and/or host processor, to a memoryarray of a different memory device, etc., via I/O lines).

As shown in timing diagrams 285-4 and 285-5, at time t₁, equilibrationis disabled (e.g., the equilibration signal 226 is deactivated) suchthat sense lines D and D_ are floating. At time t2, either the InvDsignal 213 or the Passd and Passdb signals 211 are activated, dependingon which logical operation is being performed. In this example, the InvDsignal 213 is activated for a NAND or NOR operation (see FIG. 2D-1), andthe Passd and Passdb signals 211 are activated for an AND or ORoperation (see FIG. 2D-2).

Activating the InvD signal 213 at time t2 (e.g., in association with aNAND or NOR operation) enables transistors 214-1/214-2 in FIG. 2A andresults in an inverting of the data value stored in the secondary latch290 in FIG. 2A as either sense line D or sense line D_ is pulled low. Assuch, activating signal 213 inverts the accumulated output. Therefore,for a NAND operation, if any of the memory cells sensed in the prioroperation phases (e.g., the initial operation phase and one or moreintermediate operation phases) stored a logic 0 (e.g., if any of theR-inputs of the NAND operation were a logic 0), then the sense line D_will carry a voltage corresponding to logic 0 (e.g., a ground voltage)and sense line D will carry a voltage corresponding to logic 1 (e.g., asupply voltage such as VDD). For this NAND example, if all of the memorycells sensed in the prior operation phases stored a logic 1 (e.g., allof the R-inputs of the NAND operation were logic 1), then the sense lineD_ will carry a voltage corresponding to logic 1 and sense line D willcarry a voltage corresponding to logic 0. At time t3, the primary latchof sense amplifier 206 is then activated (e.g., the sense amplifier isfired), driving D and D_ to the appropriate rails, and the sense line Dnow carries the NANDed result of the respective input data values asdetermined from the memory cells sensed during the prior operationphases. As such, sense line D will be at VDD if any of the input datavalues are a logic 0 and sense line D will be at ground if all of theinput data values are a logic 1.

For a NOR operation, if any of the memory cells sensed in the prioroperation phases (e.g., the initial operation phase and one or moreintermediate operation phases) stored a logic 1 (e.g., if any of theR-inputs of the NOR operation were a logic 1), then the sense line D_will carry a voltage corresponding to logic 1 (e.g., VDD) and sense lineD will carry a voltage corresponding to logic 0 (e.g., ground). For thisNOR example, if all of the memory cells sensed in the prior operationphases stored a logic 0 (e.g., all of the R-inputs of the NOR operationwere logic 0), then the sense line D_ will carry a voltage correspondingto logic 0 and sense line D will carry a voltage corresponding tologic 1. At time t₃, the primary latch of sense amplifier 206 is thenactivated and the sense line D now contains the NORed result of therespective input data values as determined from the memory cells sensedduring the prior operation phases. As such, sense line D will be atground if any of the input data values are a logic 1 and sense line Dwill be at VDD if all of the input data values are a logic 0.

Referring to FIG. 2D-2, activating the Passd and Passdb signals 211(e.g., in association with an AND or OR operation) transfers theaccumulated output stored in the secondary latch of compute component231 to the primary latch of sense amplifier 206. For instance, for anAND operation, if any of the memory cells sensed in the prior operationphases (e.g., the first operation phase of FIG. 2B and one or moreiterations of the intermediate operation phase of FIG. 2C-1) stored alogic 0 (e.g., if any of the R-inputs of the AND operation were a logic0), then the sense line D_ will carry a voltage corresponding to logic 1(e.g., VDD) and sense line D will carry a voltage corresponding to logic0 (e.g., ground). For this AND example, if all of the memory cellssensed in the prior operation phases stored a logic 1 (e.g., all of theR-inputs of the AND operation were logic 1), then the sense line D_ willcarry a voltage corresponding to logic 0 and sense line D will carry avoltage corresponding to logic 1. At time t3, the primary latch of senseamplifier 206 is then activated and the sense line D now carries theANDed result of the respective input data values as determined from thememory cells sensed during the prior operation phases. As such, senseline D will be at ground if any of the input data values are a logic 0and sense line D will be at VDD if all of the input data values are alogic 1.

For an OR operation, if any of the memory cells sensed in the prioroperation phases (e.g., the first operation phase of FIG. 2B and one ormore iterations of the intermediate operation phase shown in FIG. 2C-2)stored a logic 1 (e.g., if any of the R-inputs of the OR operation werea logic 1), then the sense line D_ will carry a voltage corresponding tologic 0 (e.g., ground) and sense line D will carry a voltagecorresponding to logic 1 (e.g., VDD). For this OR example, if all of thememory cells sensed in the prior operation phases stored a logic 0(e.g., all of the R-inputs of the OR operation were logic 0), then thesense line D will carry a voltage corresponding to logic 0 and senseline D_ will carry a voltage corresponding to logic 1. At time t3, theprimary latch of sense amplifier 206 is then activated and the senseline D now carries the ORed result of the respective input data valuesas determined from the memory cells sensed during the prior operationphases. As such, sense line D will be at VDD if any of the input datavalues are a logic 1 and sense line D will be at ground if all of theinput data values are a logic 0.

The result of the R-input AND, OR, NAND, and NOR operations can then bestored back to a memory cell of array 230. In the examples shown inFIGS. 2D-1 and 2D-2, the result of the R-input logical operation isstored to a memory cell coupled to RowR (e.g., 204-R). Storing theresult of the logical operation to the RowR memory cell simply involvesenabling the RowR access transistor 202 by activating RowR. Thecapacitor 203 of the RowR memory cell will be driven to a voltagecorresponding to the data value on the sense line D (e.g., logic 1 orlogic 0), which essentially overwrites whatever data value waspreviously stored in the RowR memory cell. It is noted that the RowRmemory cell can be a same memory cell that stored a data value used asan input for the logical operation. For instance, the result of thelogical operation can be stored back to the Row0 memory cell or Row1memory cell.

Timing diagrams 285-4 and 285-5 illustrate, at time t3, the positivecontrol signal 290 and the negative control signal 228 being deactivated(e.g., signal 231 goes high and signal 228 goes low) to activate thesense amplifier 206. At time t4 the respective signal (e.g., 213 or 211)that was activated at time t2 is deactivated. Embodiments are notlimited to this example. For instance, in a number of embodiments, thesense amplifier 206 may be activated subsequent to time t4 (e.g., aftersignal 213 or signals 211 are deactivated).

As shown in FIGS. 2D-1 and 2D-2, at time t5, RowR (204-R) is activated,which drives the stored element (e.g., capacitor 203 in FIG. 2A) of aselected cell to the voltage corresponding to the logic value stored inthe accumulator. At time t6, Row R is deactivated, at time t7, the senseamplifier 206 is deactivated (e.g., signals 228 and 290 are deactivated)and at time t8 equilibration occurs (e.g., signal 226 is activated andthe voltages on the complementary sense lines 205-0 and 205-1 arebrought to the equilibration voltage).

In a number of embodiments, sensing circuitry such as that described inFIG. 2A (e.g., circuitry formed on pitch with the memory cells) canenable performance of numerous logical operations in parallel. Forinstance, in an array having 16K columns, 16K logical operations can beperformed in parallel, without transferring data from the array andsensing circuitry via a bus and/or without transferring data from thearray and sensing circuitry via I/O lines.

Also, one of ordinary skill in the art will appreciate that the abilityto perform R-input logical operations (e.g., NAND, AND, NOR, OR, etc.)can enable performance of more complex computing functions such asaddition, subtraction, multiplication, and division among other primarymath functions and/or pattern compare functions. For example, a seriesof NAND operations can be combined to perform a full adder function. Asan example, if a full adder requires 12 NAND gates to add two datavalues along with a carry in and carry out, a total of 384 NANDoperations (12×32) could be performed to add two 32 bit numbers.Embodiments of the present disclosure can also be used to performlogical operations that may be non-Boolean (e.g., copy, compare, etc.).

Additionally, in a number of embodiments, the inputs to a logicaloperation performed may not be data values stored in the memory array130 to which the sensing circuitry (e.g., 150 in FIG. 1) is coupled. Forinstance, a number of inputs to a logical operation can be sensed by asense amplifier (e.g., 206 in FIG. 2A) without activating a row of thearray (e.g., 230 in FIG. 2A). As an example, the number of inputs can bereceived by the sense amplifier 206 via I/O lines coupled thereto. Suchinputs may be provided to the sense amplifier 206 (e.g., via theappropriate I/O lines) from a source external to the array 230 such asfrom a host processor (e.g., host 110) and/or external controller, forinstance. As another example, in association with performing a logicaloperation, the inputs to a particular sense amplifier (e.g., 206) andits corresponding compute component (e.g., 231) may be received from adifferent sense amplifier/compute component pair. For instance, a datavalue (e.g., logical result) stored in a first accumulator coupled to afirst column of cells may be transferred to a different (e.g.,neighboring) sense amplifier/compute component pair associated with adifferent column of cells, which may or may not be located in the samearray as the first column.

Embodiments of the present disclosure are not limited to the particularsensing circuitry configuration illustrated in FIG. 2A. For instance,different compute component circuitry can be used to perform logicaloperations in accordance with a number of embodiments described herein.Although not illustrated in FIG. 2A, in a number of embodiments, controlcircuitry can be coupled to array 230, sense amplifier 206, and/orcompute component 231. Such control circuitry may be implemented on asame chip as the array and sensing circuitry 250 and/or on an externalprocessing resource such as an external processor, for instance, and cancontrol enabling/disabling various signals corresponding to the arrayand sensing circuitry in order to perform logical operations asdescribed herein.

The example logic operation phases described in association with FIGS.2A, 2B, 2C-1, 2C-2, 2D-1, and 2D-2 involve accumulating a data value(e.g., a data value sensed from a memory cell and/or a data valuecorresponding to a voltage or current of a sense line). Due toconservation of energy, the energy consumed in performing the logicoperation phase is approximately equal to the energy consumed duringcharging of the capacitance of the sense line D or D_ from VDD/2 to VDD,which begins when the sense amplifier is activated (e.g., at time t₃ asshown in FIGS. 2B, 2C-1, 2C-2, 2D-1, and 2D-2). As such, performing alogical operation consumes approximately the energy used to charge asense line (e.g., digit line) from VDD/2 to VDD. In contrast, variousprevious processing approaches often consume at least an amount ofenergy used to charge a sense line from rail to rail (e.g., from groundto VDD), which may be twice as much energy or more as compared toembodiments described herein.

FIG. 2E illustrates a schematic diagram of a portion of a memory arraycoupled to sensing circuitry in accordance with a number of embodimentsof the present disclosure. In this example, a memory array includesmemory cells (MCs) 270-0, . . . , 270-F. In a number of embodiments, thememory cells are destructive read memory cells (e.g., reading the datastored in the cell destroys the data such that the data originallystored in the cell is refreshed after being read). The memory cells270-0, . . . , 270-F can be arranged in a number of rows coupled byselect lines 204 (e.g., word lines) and columns coupled by sense lines(e.g., digit lines) 205-0, . . . , 205-M. For ease of reference, thesense lines 205-0, . . . , 205-M represent respective pairs ofcomplementary sense lines (e.g., 205-1 and 205-2 in FIG. 2A). Althoughonly one row and two columns of memory cells are illustrated in FIG. 2E,embodiments are not so limited. For instance, a particular array mayhave a number of columns of memory cells and/or sense lines (e.g.,4,096, 8,192, 16,384, etc.). As an example, a gate of a particularmemory cell transistor (e.g., 202 in FIG. 2A) can be coupled to itscorresponding word line (204), a source/drain region can be coupled toits corresponding sense line (e.g., 205-0), and a second source/drainregion of a particular memory cell transistor can be coupled to itscorresponding capacitor (e.g., 203 in FIG. 2A).

The array in FIG. 2E can be coupled to sensing circuitry in accordancewith a number of embodiments of the present disclosure. In this example,the sensing circuitry 250 comprises sense amplifiers 206-1, . . . ,206-P and secondary sense amplifier (SSA) 268. The sensing circuitry 250can be sensing circuitry 150 shown in FIG. 1. The sense amplifiers 206-1to 206-P are coupled to the respective sense lines 205-0 to 205-M. Thesense amplifiers 206-1 to 206-P can be sense amplifiers such as senseamplifier 206 in FIG. 2A. The sense amplifiers 206-1 to 206-P arecoupled to input/output lines 266-1 (IO) and 266-2 (IO_) via transistors218-1 and 218-2, respectively. Column decode lines 264-1 (CD-1) to 264-R(CD-R) are coupled to the gates of transistors 218-1 and 218-2 and canbe selectively activated to transfer data sensed by respective senseamps 206-1 to 206-P to the SSA 268 via IO lines 266-1 and 266-2

In operation, sense amps (e.g., 206-1 to 206-P) can sense a data value(e.g., a logic “1” or “0”) stored in a memory cell (e.g., 270-0 to270-F) by amplifying a differential signal (e.g., voltage or current) onthe complementary sense lines (e.g., 205-0 to 205-M) responsive toactivation of a select line (e.g., word line 204). As an example, thesense amps 206-1 to 206-P can drive one of the sense lines (e.g., D fromFIG. 2A) of the pair of complementary sense lines 205-0 to a first value(e.g., to a supply voltage such as Vcc), and the other sense line (D_from FIG. 2A) of the pair of complementary sense lines 205-0 to a secondvalue (e.g., to a reference voltage such as a ground voltage). In thismanner, the data value stored by the memory cell (e.g., 270-0) can bedetermined based on which of the sense lines of the complementary senseline pair is driven to Vcc, for instance. The voltages of thecomplementary sense line pairs 205-0 to 205-M can then be selectivelytransferred to the I/O lines 266-1 and 266-2 via activation of selectedcolumn decode lines 264-1 to 264-R. In this manner, the data sensed bythe sense amps 206-1 to 206-P can be transferred to the SSA 268 via I/Olines 266-1 and 266-2. The SSA 268 may only be capable of storing a datavalue from a single cell (e.g., one of cells 270-0 to 270-F) at aparticular time. As such, if it is desired to transfer the data storedin cell 270-0 to the SSA 268, then column decode line 264-1 would beactivated, and if it is desired to transfer the data stored in cell270-F to the SSA 268, then column decode 264-R would be activated. Ifboth lines 264-1 and 264-R were activated, the SSA 268 may not be ableto determine the actual stored data values stored in either of thecells.

However, in various instances, it can be useful to selectively activatemore than one of the column decode lines (e.g., 264-1 to 264-R). Forexample, selectively activating a number of column decode lines can bedone in association with performing a WIRED OR operation in accordancewith a number of embodiments described herein. For instance, in a numberof embodiments of the present disclosure, the data path portion shown inFIG. 2E can be operated to determine whether data stored in a memoryarray (e.g., array 130 in FIG. 1) matches a compare value, which may beprovided by an on-die control circuit (e.g., control circuitry 140 inFIG. 1) and/or by external control circuitry (e.g., host 110 in FIG. 1)as part of an “if-then-else” programmatic flow.

In an example operation, control circuitry (e.g., 140 in FIG. 1) can beconfigured to charge (.e.g., precharge) an I/O line (e.g., 266-1) to avoltage (e.g., a precharge voltage). For example, the I/O line 266-1 canbe precharged to a voltage (e.g., a supply voltage such as Vcc)corresponding to a logic “1.” The control circuitry can be configured toselectively activate row lines (e.g., a row line including memory cells270-0, . . . , 270-F) and column decode lines 264-1 to 264-R (e.g.,CD-1, . . . , CD-R). Sensing circuitry (e.g., 150 in FIG. 1) can beconfigured to sense a number of selected memory cells (e.g., 270-0, . .. , 270-F) coupled to an activated row line. The sensing circuitry canbe configured to determine whether the precharge voltage of the IO line266-1 changes in response to selective activation of column decode linesCD-1 to CD-R 264-1 to 264-R.

In a number of embodiments, the control circuitry (e.g., 140 in FIG. 1)can, in conjunction with the sensing circuitry, be used to perform aWIRED OR operation (e.g., to determine if data stored in the memoryarray matches a compare value). As an example, the IO line 266-1 can beprecharged to a particular voltage. The particular voltage can be avoltage corresponding to a data value. For instance the prechargevoltage can be a supply voltage such as Vcc, which may correspond to alogic “1,” or a ground voltage, which may correspond to a logic “0.”

Activation of column decode line CD-1 turns on transistors 218-1 and218-2, which provides voltages corresponding to the data stored in senseamplifier 206-1 to IO lines 266-1 and 266-2. As such, the prechargevoltage of IO line 266-1 can change based on the particular data valuestored in sense amplifier 206-1 (which represents the data stored in aparticular memory cell such as cell 270-0). For example, if the senseamplifier 206-1 senses a logic 0 (e.g., a ground voltage) stored in cell270-0, then the precharge voltage (e.g., Vcc) on the IO line 266-1 willbe pulled down (e.g., lowered) when CD-1 is activated, and the change inthe precharge voltage can be detected by the SSA 268. As such, thedetected change in the precharge voltage indicates that the sensedmemory cell (e.g., 270-0) stores a data value (e.g., 0) different fromthe data value (e.g., 1) corresponding to the precharge voltage.Similarly, if the sense amplifier 206-1 senses a logic 1 (e.g., Vcc)stored in cell 270-0, then the precharge voltage (e.g., Vcc) on the IOline 266-1 will not be pulled down when CD-1 is activated, and no changein the precharge voltage will be detected by the SSA 268. As such, nodetected change in the precharge voltage indicates that the sensedmemory cell (e.g., 270-0) stores the same data value (e.g., 1) as thedata value (e.g., 1) corresponding to the precharge voltage.

The above described ability of the SSA 268 to determine whether theprecharge voltage changes can be used to perform WIRED OR operations todetermine whether a particular compare value matches data stored in amemory array, for instance. As an example, if an operation is todetermine whether a number of cells coupled to a particular row linestores a particular compare value (e.g., “0”), the particular row linecan be activated along with the sense lines corresponding the number ofmemory cells. If any of the cells store a logical “0”, then theprecharge voltage of the IO line (e.g., local IO line) will be changed(e.g., pulled down). The result of the operation can be reported, forinstance, to the requesting control circuitry (e.g., on-die controller,host, etc.). The result of the operation can be reported into the memoryarray for further calculations. The determined result may be used aspart of continued execution of a particular compare operation or otherlogical operation. For instance, execution may include not onlydetermining if any of the memory cells of the row store a data value(e.g., 0), but which cell(s) store the data value. As such, subsets ofthe column decode lines may be selectively activated to compare the datavalues stored by their corresponding cells to the compare value, whichcan be used in association with a comparison operation, for instance.

The compare values used in association with WIRED OR operations can berequested by control circuitry (e.g., coupled to the sense circuitry 150in FIG. 1 (e.g., on-die controller 140 in FIG. 1)) and/or by a number ofother sources such as an external host, for instance. Similarly, resultsof WIRED OR operations can be reported to various control circuitryand/or used to perform further operations (e.g., logic operations) aspart of if-then-else programmatic flow prior to being reported tocontrol circuitry.

FIG. 3A illustrates a logical diagram showing the states of cells of aportion of an array 330 at a particular phase associated with performinga serial comparison operation in accordance with a number of embodimentsof the present disclosure. FIG. 3A includes memory array 330 that isanalogous to memory array 230 of FIG. 2A and memory array 130 of FIG. 1.Memory array 330 includes sense lines 305-0, 305-1, 305-2, 305-3, 305-4(e.g., referred to generally as sense lines 305). More or fewer senselines can be included in memory array 330. Each of the sense lines 305represents a different comparison operation. For example, five differentcomparison operations can be performed (e.g., in parallel) based on thevalues stored in a number of memory cells that are coupled to the fivedifferent sense lines.

Memory array 330 also includes select lines 304-0, 304-1, 304-2, 304-3,304-4, 304-5, 304-6, 304-7, 304-8, 304-9 (e.g., referred to generally asselect lines 304). In FIG. 3A, a first comparison operation can consistof comparing a first value (e.g., srcA value) 320-0 with a second value(e.g., srcB value) 322-0. The results of the first comparison operationcan be stored as a first bit 328-0 and a second bit 330-0 of a resetvalue (e.g., a destination value). A second comparison operation canconsist of comparing a first value 320-1 with a second value 322-1. Theresults of the second comparison operation can be stored as a first bit328-1 and a second bit 330-1 of a destination value. A third comparisonoperation can consist of comparing a first value 320-2 with a secondvalue 322-2. The results of the third comparison operation can be storedas a first bit 328-2 and a second bit 330-2 of a destination value. Afourth comparison operation can consist of comparing a first value 320-3with a second value 322-3. The results of the fourth comparisonoperation can be stored as a first bit 328-3 and a second bit 330-3 of adestination value. A fifth comparison operation can consist of comparinga first value 320-4 with a second value 322-4. The results of the fifthcomparison operation can be stored as a first bit 328-4 and a second bit330-4 of a destination value.

In a number of examples, a destination value can consist of the firstbit and the second bit that are a logical representation of the resultof the comparison operation. For example, if a first value is greaterthan a second value, then the first bit of the destination value can beset to one (e.g., “1”) and the second bit of the destination value canbe set to zero (e.g., “0”). If a second value is greater than the firstvalue, then the first bit of the destination value can be set to zero(e.g., “0”) and the second bit of the destination value can beset to one(e.g., “1”). If the first value is equal to the second value then thefirst bit and the second bit of the destination value can be set to zero(e.g., “0”). However, the examples given of a destination value areexemplary. Other logical representations of the results of a comparisonoperation can be used in conjunction with the examples given herein.

The first values 320-0, 320-1, 320-2, 320-3, 320-4, (e.g., referred togenerally as first values 320), the second values 322-0, 322-1, 322-2,322-3, 322-4 (e.g., referred to generally as second values 322) can bestored as part of bit-vectors in the memory cells that are coupled tothe select lines 304 and the sense lines 305. Tmp values and tmpsetvalues as described above in connection with FIG. 2A are also shown inFIG. 3A. The tmp values 324-0, 324-1, 324-2, 324-3, 324-4 (e.g.,referred to generally as tmp values 324), the tmpset values 326-0,326-1, 326-2, 326-3, 326-4 (e.g., referred to generally as tmpset values326), and the destination values comprising the first bits 328-0, 328-1,328-2, 328-3, 328-4 (e.g., referred to generally as first bits 328) andthe second bits 330-0, 330-1, 330-2, 330-3, 330-4 (e.g., referred togenerally as second bits 330) can be stored as part of bit-vectors inthe memory cells that are coupled to the select lines 304 and the senselines 305. For example, a first value 320-0 that is stored in a numberof memory cells can have a value equal to three. The first value 320-0can be represented by the bit-vector [011] that can be stored in thememory cells that are coupled to the sense line 305-0 and the selectlines 304-0, 304-1, 304-2. In FIG. 3A to 3M each of the first values 320and the second values 322 are represented using three bits, more orfewer bits can be used to represent the first values 320 and the secondvalues 322.

FIG. 3A, shows the initial states of the memory cells in the memoryarray 330. For example, the memory cells that store the tmp values 324,the tmpset values 326, and the destination values can be initialized tozero. The memory cells that store first value 320-0 are initialized tostore bit-vector [011]. The first value 320-0 is equal to a decimalvalue of three. The memory cells that store the first value 320-1 areinitialized to store bit-vector [000]. The first value 320-1 is equal toa decimal value of zero. The memory cells that store first value 320-2are initialized to store bit-vector [010]. The first value 320-2 isequal to a decimal value of two. The memory cells that store first value320-3 are initialized to store bit-vector [100]. The first value 320-3is equal to a decimal value of four. The memory cells that store firstvalue 320-4 are initialized to store bit-vector [010]. The first value320-4 is equal to a decimal value of two.

The memory cells that store second value 322-0 are initialized to storebit-vector [100]. The stored second value 322-0 is equal to a decimalvalue of four. The memory cells that store second value 322-1 areinitialized to store bit-vector [001]. The second value 322-1 is equalto one. The memory cells that store second value 322-2 are initializedto store bit-vector [010]. The second value 322-2 is equal to a decimalvalue of two. The memory cells that store second value 322-3 areinitialized to store bit-vector [110]. The second value 322-3 is equalto a decimal value of five. The memory cells that store second value322-4 are initialized to store bit-vector [001]. The second value 322-4is equal to a decimal value of one.

FIGS. 3B through 3M illustrate logical diagrams showing the states ofmemory cells of array portion 330 during different phases (e.g., aftercomputations) associated with performing a comparison operation inaccordance with a number of embodiments of the present disclosure. FIG.3A illustrates the original (e.g., initialized) states of the memorycells of array portion 330 such as the initialization operationdescribed in connection with FIG. 2B.

FIG. 3B illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3A). FIG. 3B illustrates the cells of array portion 330 after a firststep in a first iteration of a number of comparison operations such asdescribed with the intermediate operation phases of FIGS. 2C-1 to 2D-2.

The first step in the first iteration can be performed to determinewhether the most significant bits from the first values 320 (e.g., srcAvalues) and the second values 322 (e.g., srcB values) are different. Themost significant bits from the first values 320 and the second values322 can be different if they are not equal to each other.

In a number of examples, the first set of the first iteration caninclude performing a “ReadRow(srcA+i)” call, a “XorRow(srcB+i)” call, a“XorRow(tmpset)” call, and/or a “WriteRow(tmp)” call as discussed above.In a three (e.g., 3) bit example, during a first iteration an “i” indexis set to two (e.g., 2) signifying that a next most significant bitassociated with the first values 320 and the second values 322 has anindex of two (e.g., 2).

The first step of the first iteration of the comparison operation caninclude, for example, reading (e.g., ReadRow(srcA+i) a bit (e.g., “0”bit) from a first value 320-0 that is stored in a memory cell coupled tosense line 305-0 and select line 304-2 and performing a first XORoperation (e.g., XorRow(srcB+i)) using as input the read “0” bit and anext most significant bit (e.g., “1” bit) from a second value 322-0stored in a memory cell that is coupled to sense line 305-0 and selectline 304-5. The result (e.g., “1”) of the first XOR operation (e.g.,XorRow(srcB+i)) and the “0” bit (e.g., tmpset value) stored in a memorycell coupled to sense line 305-0 and select line 304-7 can be used asinput to a second XOR operation (e.g., XorRow(tmpset)). The results ofthe second XOR operation can be stored (e.g., WriteRow(tmp)) in a memorycell coupled to sense line 305-0 and select line 304-6 (e.g., a memorycell associated with the tmp value).

The first step of the first iteration can also be performed for each ofthe comparison operations associated with sense lines 305-1, 305-2,305-3, 305-4. That is, the “ReadRow(srcA+i)” call, the “XorRow(srcB+i)”call, the “XorRow(tmpset)” call, and the “WriteRow(tmp)” call can beperformed simultaneously for each of the comparison operationsassociated with the sense lines 305-1, 305-2, 305-3, 305-4.

FIG. 3C illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3B). FIG. 3C illustrates the cells of array portion 330 after a secondstep in the first iteration of a number of comparison operations. Thesecond step in the first iteration can be performed to store adetermination of whether the first values 320 and the second values 322are different.

In a number of examples, the second step in the first iteration caninclude performing an “OrRow(tmpset)” call and a “WriteRow(tmpset)”call. The second step of the first iteration of the comparison operationcan include, for example, performing a first OR operation (e.g.,OrRow(tmpset)) using the result (e.g., “0”) of the second XOR operation(e.g., XorRow(tmpset)) and a “0” bit stored in a memory cell coupled tosense line 305-0 and select line 304-7. The second step of the firstiteration of the comparison operation can also include performing awrite operation (e.g., WriteRow(tmpset)) to store the results of thefirst OR operation (e.g. OrRow(tmpset)) in the memory cell coupled tosense line 305-0 and select line 304-7. The second step in the firstiteration can also be performed simultaneously for each of the othercomparison operations associated with the sense lines 305-1, 305-2,305-3, 305-4.

FIG. 3D illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3C). FIG. 3D illustrates the cells of array portion 330 after a thirdstep in the first iteration of a number of comparison operations. Thethird step in the first iteration can be executed to determine whetherthe first values 320 (e.g., srcA values) are larger than the secondvalues 322 (e.g., srcB values).

In a number of examples, the third step in the first iteration caninclude performing a “ReadRow(srcA+i)” call, a “AndRow(tmp)” call, a“OrRow(dest)” call, and a “WriteRow(dest)”. The read operation (e.g.,ReadRow(srcA+i)) can read a most significant bit (e.g., “0”), from afirst value 320-0, that is stored in a memory cell that is coupled tosense line 305-0 and select line 304-2. A first AND operation (e.g.,AndRow(tmp)) can use, as input, the read bit (e.g., “0”) and a bitstored in the memory cell coupled to sense line 305-0 and select line304-6. The result (e.g., 0) of the first AND operation and a bit (e.g.,0) stored in a memory cell coupled to the sense line 305-0 and selectline 304-8 can be used as input to a second OR operation (e.g.,OrRow(dest)). The result (e.g., 0) of the second OR operation can bestored (e.g., WriteRow(dest)) in a memory cell coupled to sense line305-0 and select line 304-8. The third step in the first iteration canalso be performed simultaneously for each of the other comparisonoperations associated with the sense lines 305-1, 305-2, 305-3, 305-4.

FIG. 3E illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3D). FIG. 3E illustrates the cells of array portion 330 after a fourthstep in the first iteration of a number of comparison operations. Thefourth step in the first iteration can be executed to determine whetherthe second values 322 (e.g., srcB values) are larger than the firstvalues 320 (e.g., srcA values).

In a number of examples, the fourth step in the first iteration caninclude performing a “ReadRow(srcB+i)” call, a “AndRow(tmp)” call, a“OrRow(dest+1)” call, and a “WriteRow(dest+1)”. The read operation(e.g., ReadRow(srcB+i)) can, for example, read a most significant bit(e.g., “1”), from a second value 322-0, that is stored in a memory cellthat is coupled to sense line 305-0 and select line 304-5. A second ANDoperation (e.g., AndRow(tmp)) can use as input the read (e.g.,ReadRow(srcB+i) bit (e.g., “1”) and a bit (e.g., “1”) stored in thememory cell coupled to sense line 305-0 and select line 304-6. Theresult (e.g., “1”) of the second AND operation and a bit (e.g., 0)stored in a memory cell coupled to the sense line 305-0 and select line304-9 can be used as input to a third OR operation (e.g.,OrRow(dest+1)). The result (e.g., 1) of the third OR operation can bestored (e.g., WriteRow(dest+1)) in a memory cell coupled to sense line305-0 and select line 304-9. The fourth step in the first iteration canalso be performed for each of the other comparison operations associatedwith the sense lines 305-1, 305-2, 305-3, 305-4.

FIG. 3F illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3E). FIG. 3F illustrates the cells of array portion 330 after a firststep of a second iteration of a number of comparison operations. Thefirst step in the second iteration can be performed to determine whetherthe next most significant bits from the first values 322 (e.g., srcAvalues) and the second values 322 (e.g., srcB values) are different.

In a number of examples, the first step of the second iteration caninclude performing a “ReadRow(srcA+i)” call, a “XorRow(srcB+i)” call, a“XorRow(tmpset)” call, and a “WriteRow(tmp)” call. During the seconditeration an “i” index is set to one (e.g., 1) signifying that a nextmost significant bit associated with the first values 320 and the secondvalues 322 has an index of one (e.g., 1).

The first step of the second iteration of the comparison operation can,for example, include reading (e.g., ReadRow(srcA+i) a bit (e.g., “1”bit) from a first value 320-4 stored in a memory cell coupled to senseline 305-4 and select line 304-1 and performing a first XOR operation(e.g., XorRow(srcB+i)) using, as input, the read bit (e.g., “1” bit) anda next most significant bit (e.g., “0” bit) from a second value 322-4stored in a memory cell that is coupled to sense line 305-4 and selectline 304-4. The result (e.g., “1”) of the first XOR operation (e.g.,XorRow(srcB+i)) and “0” bit (e.g., tmpset value) stored in a memory cellcoupled to sense line 305-4 and select line 304-7 can be used as inputto a second XOR operation (e.g., XorRow(tmpset)). The results (e.g., 1)of the second XOR operation can be stored (e.g., WriteRow(tmp)) in amemory cell coupled to sense line 305-4 and select line 304-6 (e.g., amemory cell associated with the tmp value).

The first step of the second iteration of the comparison operation canalso, for example, include reading (e.g., ReadRow(srcA+i) a bit (e.g.,“1” bit) from a first value 320-2 stored in a memory cell coupled tosense line 305-2 and select line 304-1 and performing a first XORoperation (e.g., XorRow(srcB+i)) using as input the read “1” bit and anext most significant bit (e.g., “1” bit) from a second value 322-2stored in a memory cell that is coupled to sense line 305-2 and selectline 304-4. The result (e.g., “0”) of the first XOR operation (e.g.,XorRow(srcB+i)) and “0” bit (e.g., tmpset value) stored in a memory cellcoupled to sense line 305-2 and select line 304-7 can be used as inputto a second XOR operation (e.g., XorRow(tmpset)). The results (e.g., 0)of the second XOR operation can be stored (e.g., WriteRow(tmp)) in amemory cell coupled to sense line 305-2 and select line 304-6 (e.g., amemory cell associated with the tmp value).

The first step of the second iteration can also be performed for each ofthe comparison operations associated with sense lines 305-0, 305-1,305-3. That is, the “ReadRow(srcA+i)” call, the “XorRow(srcB+i)” call,the “XorRow(tmpset)” call, and the “WriteRow(tmp)” call can be performedsimultaneously for each of the comparison operations associated with thesense lines 305-0, 305-1, 305-3. For example, performing the first stepin the second iteration can result in storing a “1” bit in a memory cellcoupled to sense line 305-3 and select line 304-6.

FIG. 3G illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3F). FIG. 3G illustrates the cells of array portion 330 after a secondstep in the second iteration. The second step in the second iterationcan be performed to store a determination whether the first values 320(e.g., srcA values) and the second values 322 (e.g., srcB values) aredifferent.

In a number of examples, the second step in the second iteration caninclude performing an “OrRow(tmpset)” call and a “WriteRow(tmpset)”call. The second step of the second iteration of the comparisonoperation can include, for example, performing a first OR operation(e.g., OrRow(tmpset)) using the result (e.g., “1”) of the second XORoperation (e.g., XorRow(tmpset)) and a “0” bit stored in a memory cellcoupled to sense line 305-4 and select line 304-7. The second step ofthe second iteration of the comparison operation can also includeperforming a write operation (e.g., WriteRow(tmpset)) to store theresults (e.g., “1”) of the first OR operation (e.g., OrRow(tmpset)) inthe memory cell coupled to sense line 305-4 and select line 304-7.

In a number of examples, the second step in the second iteration canalso include performing an “OrRow(tmpset)” call and a “WriteRow(tmpset)”call for the comparison operation associated with the sense line 305-2.For example, the second step of the second iteration of the comparisonoperation can include performing a first OR operation (e.g.,OrRow(tmpset)) using the result (e.g., “0”) of the second XOR operation(e.g., XorRow(tmpset)) and a “0” bit stored in a memory cell coupled tosense line 305-2 and select line 304-7. The second step of the seconditeration of the comparison operation can also include performing awrite operation (e.g., WriteRow(tmpset)) to store the results (e.g.,“0”) of the first OR operation (e.g., OrRow(tmpset)) in the memory cellcoupled to sense line 305-2 and select line 304-7.

The second step in the second iteration can also be performedsimultaneously for each of the other comparison operations associatedwith the sense lines 305-0, 305-1, 305-3. For example, performing thesecond step in the second iteration can result in storing a “1” in thememory cell coupled to sense line 305-3 and select line 304-7.

FIG. 3H illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3G). FIG. 3H illustrates the cells of array portion 330 after a thirdstep in the second iteration. The third step in the second iteration canbe executed to determine whether the first values 320 (e.g., srcAvalues) are larger than the second values 322 (e.g., srcB values).

In a number of examples, the third step in the second iteration caninclude performing a “ReadRow(srcA+i)” call, a “AndRow(tmp)” call, a“OrRow(dest)” call, and a “WriteRow(dest)”. The read operation (e.g.,ReadRow(srcA+i)) can read a next most significant bit (e.g., “1”), froma first value 320-4, that is stored in a memory cell that is coupled tosense line 305-4 and select line 304-1. A first AND operation (e.g.,AndRow(tmp)) can use as input the read bit (e.g., “1”) and a bit (e.g.,“1”) stored in the memory cell coupled to sense line 305-4 and selectline 304-6. The result (e.g., “1”) of the first AND operation and a bit(e.g., “0”) stored in a memory cell coupled to the sense line 305-4 andselect line 304-8 can be used as input to a second OR operation (e.g.,OrRow(dest)). The result (e.g., “1”) of the second OR operation can bestored (e.g., WriteRow(dest)) in a memory cell coupled to sense line305-4 and select line 304-8.

The third step in the second iteration can also include, for example,performing the read operation (e.g., ReadRow(srcA+i)) to read a nextmost significant bit (e.g., “1”), from a first value 320-2, that isstored in a memory cell that is coupled to sense line 305-2 and selectline 304-1. A first AND operation (e.g., AndRow(tmp)) can use as inputthe read bit (e.g., “1”) and a bit (e.g., “0”) stored in the memory cellcoupled to sense line 305-2 and select line 304-6. The result (e.g.,“0”) of the first AND operation and a bit (e.g., “0”) stored in a memorycell coupled to the sense line 305-2 and select line 304-8 can be usedas input to a second OR operation (e.g., OrRow(dest)). The result (e.g.,“0”) of the second OR operation can be stored (e.g., WriteRow(dest)) ina memory cell coupled to sense line 305-2 and select line 304-8. Thethird step in the second iteration can also be performed simultaneouslyfor each of the other comparison operations associated with the senselines 305-0, 305-1, 305-3.

FIG. 3I illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3H). FIG. 3I illustrates the cells of array portion 330 after a fourthstep in the second iteration. The fourth step in the first iteration canbe executed to determine whether the second values 322 (e.g., srcBvalues) are larger than the first values 320 (e.g., srcA values).

In a number of examples, the fourth step in the second iteration caninclude performing a “ReadRow(srcB+i)” call, an “AndRow(tmp)” call, a“OrRow(dest+1)” call, and a “WriteRow(dest+1)”. The read operation(e.g., ReadRow(srcB+i)) can read a next most significant bit (e.g.,“0”), from a second value 322-4, that is stored in a memory cell that iscoupled to sense line 305-4 and select line 304-4. A second ANDoperation (e.g., AndRow(tmp)) can use as input the read bit (e.g., “0”)and a bit (e.g., “1”) stored in the memory cell coupled to sense line305-4 and select line 304-6. The result (e.g., “0”) of the second ANDoperation and a bit (e.g., “0”) stored in a memory cell coupled to thesense line 305-4 and select line 304-9 can be used as input to a thirdOR operation (e.g., OrRow(dest+1)). The result (e.g., 0) of the third ORoperation can be stored (e.g., WriteRow(dest+1)) in a memory cellcoupled to sense line 305-4 and select line 304-9.

In a number of examples, the fourth step in the second iteration canalso, for example, perform a read operation (e.g., ReadRow(srcB+i)) toread a next most significant bit (e.g., “1”), from a second value 322-2,that is stored in a memory cell that is coupled to sense line 305-2 andselect line 304-4. A second AND operation (e.g., AndRow(tmp)) can use asinput the read bit (e.g., “1”) and a bit (e.g., “0”) stored in thememory cell coupled to sense line 305-2 and select line 304-6. Theresult (e.g., “0”) of the second AND operation and a bit (e.g., “0”)stored in a memory cell coupled to the sense line 305-0 and select line304-9 can be used as input to a third OR operation (e.g.,OrRow(dest+1)). The result (e.g., 0) of the third OR operation can bestored (e.g., WriteRow(dest+1)) in a memory cell coupled to sense line305-2 and select line 304-9.

The fourth step in the second iteration can also be performed for eachof the other comparison operations associated with the sense lines305-0, 305-1, 305-3. For example, performing the fourth step in thesecond iteration can result in storing a “1” in the memory cell coupledto sense line 305-3 and select line 304-9.

FIG. 3J illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3I). FIG. 3J illustrates the cells of array portion 330 after a firststep of a third iteration of a number of comparison operations. Thefirst step in the third iteration can be performed to determine whetherthe next most significant bits from the first values 322 (e.g., srcAvalues) and the second values 322 (e.g., srcB values) are different.

In a number of examples, the first step of the third iteration caninclude performing a “ReadRow(srcA+i)” call, a “XorRow(srcB+i)” call, a“XorRow(tmpset)” call, and a “WriteRow(tmp)” call. During the thirditeration an “i” index is set to zero (e.g., “0”) signifying that a nextmost significant bit associated with the first values 320 and the secondvalues 322 has an index of zero (e.g., “0”).

The first step of the third iteration of the comparison operation can,for example, include reading (e.g., ReadRow(srcA+i) a bit (e.g., “0”bit) from a first value 320-1 stored in a memory cell coupled to senseline 305-1 and select line 304-0 and performing a first XOR operation(e.g., XorRow(srcB+i)) using as input the read “0” bit and a next mostsignificant bit (e.g., “1” bit) from a second value 322-1 stored in amemory cell that is coupled to sense line 305-1 and select line 304-0.The result (e.g., “1”) of the first XOR operation (e.g., XorRow(srcB+i))and “0” bit (e.g., tmpset value) stored in a memory cell coupled tosense line 305-1 and select line 304-7 can be used as input to a secondXOR operation (e.g., XorRow(tmpset)). The results (e.g., “1”) of thesecond XOR operation can be stored (e.g., WriteRow(tmp)) in a memorycell coupled to sense line 305-1 and select line 304-6 (e.g., a memorycell associated with the tmp value).

The first step of the third iteration can also be performed for each ofthe comparison operations associated with sense lines 305-0, 305-2,305-3, 305-4. That is, the “ReadRow(srcA+i)” call, the “XorRow(srcB+i)”call, the “XorRow(tmpset)” call, and the “WriteRow(tmp)” call can beperformed simultaneously for each of the comparison operationsassociated with the sense lines 305-0, 305-2, 305-3, 305-4.

FIG. 3K illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3J). FIG. 3K illustrates the cells of array portion 330 after a secondstep in the third iteration. The second step in the third iteration canbe performed to store a determination whether the first values 320(e.g., srcA values) and the second values 322 (e.g., srcB values) aredifferent.

In a number of examples, the second step in the third iteration caninclude performing an “OrRow(tmpset)” call and a “WriteRow(tmpset)”call. The second step of the third iteration of the comparison operationcan include, for example, performing a first OR operation (e.g.,OrRow(tmpset)) using the result (e.g., “1”) of the second XOR operation(e.g., XorRow(tmpset)) and a “1” bit stored in a memory cell coupled tosense line 305-1 and select line 304-7. The second step of the thirditeration of the comparison operation can also include performing awrite operation (e.g., WriteRow(tmpset)) to store the results (e.g.,“1”) of the first OR operation (e.g., OrRow(tmpset)) in the memory cellcoupled to sense line 305-1 and select line 304-7. The second step inthe third iteration can also be performed simultaneously for each of theother comparison operations associated with the sense lines 305-0,305-2, 305-3, 305-4.

FIG. 3L illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3K). FIG. 3L illustrates the cells of array portion 330 after a thirdstep in the third iteration. The third step in the third iteration canbe executed to determine whether the first values 320 (e.g., srcAvalues) are larger than the second values 322 (e.g., srcB values).

In a number of examples, the third step in the third iteration caninclude performing a “ReadRow(srcA+i)” call, a “AndRow(tmp)” call, a“OrRow(dest)” call, and a “WriteRow(dest)”. The read operation (e.g.,ReadRow(srcA+i)) can read a next most significant bit (e.g., “0”), froma first value 320-1, that is stored in a memory cell that is coupled tosense line 305-1 and select line 304-0. A first AND operation (e.g.,AndRow(tmp)) can use as input the read bit (e.g., “0”) and a bit (e.g.,“1”) stored in the memory cell coupled to sense line 305-1 and selectline 304-6. The result (e.g., “0”) of the first AND operation and a bit(e.g., “0”) stored in a memory cell coupled to the sense line 305-1 andselect line 304-8 can be used as input to a second OR operation (e.g.,OrRow(dest)). The result (e.g., “0”) of the second OR operation can bestored (e.g., WriteRow(dest)) in a memory cell coupled to sense line305-1 and select line 304-8. The third step in the third iteration canalso be performed simultaneously for each of the other comparisonoperations associated with the sense lines 305-0, 3305-2, 305-3,305-4.

FIG. 3M illustrates a logical diagram showing the states of the cells ofarray portion 330 at a particular phase associated with performing acomparison operation (e.g., at a phase subsequent to that shown in FIG.3L). FIG. 3M illustrates the cells of array portion 330 after a fourthstep in the third iteration. The fourth step in the third iteration canbe executed to determine whether the second values 322 (e.g., srcBvalue) are larger than the first values 320 (e.g., srcA value).

In a number of examples, the fourth step in the third iteration caninclude performing a “ReadRow(srcB+i)” call, an “AndRow(tmp)” call, a“OrRow(dest+1)” call, and a “WriteRow(dest+1)”. The read operation(e.g., ReadRow(srcB+i)) can read a next most significant bit (e.g.,“1”), from a second value 322-1, that is stored in a memory cell that iscoupled to sense line 305-1 and select line 304-3. A second ANDoperation (e.g., AndRow(tmp)) can use as input the read bit (e.g., “1”)and a bit (e.g., “1”) stored in the memory cell coupled to sense line305-1 and select line 304-6. The result (e.g., “1”) of the second ANDoperation and a bit (e.g., “0”) stored in a memory cell coupled to thesense line 305-1 and select line 304-9 can be used as input to a thirdOR operation (e.g., OrRow(dest+1)). The result (e.g., “1”) of the thirdOR operation can be stored (e.g., WriteRow(dest+1)) in a memory cellcoupled to sense line 305-1 and select line 304-9. The fourth step inthe third iteration can also be performed for each of the othercomparison operations associated with the sense lines 305-0, 305-2,305-3, 305-4.

In a number of examples, after each of the fourth steps in each of theiterations, it can be determined whether the comparison operation hasconcluded regardless of the current iteration. For example, if after afirst iteration all of the comparison operations have determined thatall of the first values 320 are either greater or less than the secondvalues 322, then the comparison operations can conclude. Determiningwhether all of the comparison operations have determined that the firstvalues 320 are greater than the second values 322 and/or whether thesecond values 322 are greater than the first values 320 can be performedusing a WIRED OR operation described above. The comparison operation canconclude by breaking out of a FOR loop associated with the number ofiterations of the comparison operations.

Embodiments however, are not limited to the order of the sequence ofsteps shown in this example. For example, a second step in a firstiteration can be performed after a fourth step in the first iteration.

FIG. 4 illustrates a schematic diagram of sensing circuitry inaccordance with a number of embodiments of the present disclosure. Thesensing circuitry shown in FIG. 4 can also be used to perform acomparison operation as described above. A memory cell comprises astorage element (e.g., capacitor) and an access device (e.g.,transistor). For instance, transistor 402-1 and capacitor 403-1comprises a memory cell, and transistor 402-2 and capacitor 403-2comprises a memory cell, etc. In this example, the memory array 430 is aDRAM array of 1T1C (one transistor one capacitor) memory cells. In anumber of embodiments, the memory cells may be destructive read memorycells (e.g., reading the data stored in the cell destroys the data suchthat the data originally stored in the cell is refreshed after beingread). The cells of the memory array 430 are arranged in rows coupled byword lines 404-X (Row X), 404-Y (Row Y), etc., and columns coupled bypairs of complementary data lines DIGIT(n−1)/DIGIT(n−1)_,DIGIT(n)/DIGIT(n)_, DIGIT(n+1)/DIGIT(n+1)_. The individual data linescorresponding to each pair of complementary data lines can also bereferred to as data lines 405-1 (D) and 405-2 (D_) respectively.Although only three pair of complementary data lines are shown in FIG.4, embodiments of the present disclosure are not so limited, and anarray of memory cells can include additional columns of memory cellsand/or data lines (e.g., 4,096, 8,192, 16,384, etc.).

Memory cells can be coupled to different data lines and/or word lines.For example, a first source/drain region of a transistor 402-1 can becoupled to data line 405-1 (D), a second source/drain region oftransistor 402-1 can be coupled to capacitor 403-1, and a gate of atransistor 402-1 can be coupled to word line 404-X. A first source/drainregion of a transistor 402-2 can be coupled to data line 405-2 (D), asecond source/drain region of transistor 402-2 can be coupled tocapacitor 403-2, and a gate of a transistor 402-2 can be coupled to wordline 404-Y. The cell plate, as shown in FIG. 4, can be coupled to eachof capacitors 403-1 and 403-2. The cell plate can be a common node towhich a reference voltage (e.g., ground) can be applied in variousmemory array configurations.

The memory array 430 is coupled to sensing circuitry 450 in accordancewith a number of embodiments of the present disclosure. In this example,the sensing circuitry 450 comprises a sense amplifier 406 and a computecomponent 431 corresponding to respective columns of memory cells (e.g.,coupled to respective pairs of complementary data lines). The senseamplifier 406 can comprise a cross coupled latch, which can be referredto herein as a primary latch. The sense amplifier 406 can be configured,for example, as described with respect to FIG. 5.

In the example illustrated in FIG. 4, the circuitry corresponding tocompute component 431 comprises a static latch 482 and an additional tentransistors that implement, among other things, a dynamic latch. Thedynamic latch and/or static latch of the compute component 431 can becollectively referred to herein as a secondary latch, which can serve asan accumulator. As such, the compute component 431 can operate as and/orbe referred to herein as an accumulator. The compute component 431 canbe coupled to each of the data lines D 405-1 and D_ 405-2 as shown inFIG. 4. However, embodiments are not limited to this example. Thetransistors of compute component 431 can all be n-channel transistors(e.g., NMOS transistors), for example.

In this example, data line D 405-1 can be coupled to a firstsource/drain region of transistors 416-1 and 439-1, as well as to afirst source/drain region of load/pass transistor 418-1. Data line D_405-2 can be coupled to a first source/drain region of transistors 416-2and 439-2, as well as to a first source/drain region of load/passtransistor 418-2.

The gates of load/pass transistor 418-1 and 418-2 can be commonlycoupled to a LOAD control signal, or respectively coupled to aPASSD/PASSDB control signal, as discussed further below. A secondsource/drain region of load/pass transistor 418-1 can be directlycoupled to the gates of transistors 416-1 and 439-2. A secondsource/drain region of load/pass transistor 418-2 can be directlycoupled to the gates of transistors 416-2 and 439-1.

A second source/drain region of transistor 416-1 can be directly coupledto a first source/drain region of pull-down transistor 414-1. A secondsource/drain region of transistor 439-1 can be directly coupled to afirst source/drain region of pull-down transistor 407-1. A secondsource/drain region of transistor 416-2 can be directly coupled to afirst source/drain region of pull-down transistor 414-2. A secondsource/drain region of transistor 439-2 can be directly coupled to afirst source/drain region of pull-down transistor 407-2. A secondsource/drain region of each of pull-down transistors 407-1, 407-2,414-1, and 414-2 can be commonly coupled together to a reference voltage491 (e.g., ground (GND)). A gate of pull-down transistor 407-1 can becoupled to an AND control signal line, a gate of pull-down transistor414-1 can be coupled to an ANDinv control signal line 413-1, a gate ofpull-down transistor 414-2 can be coupled to an ORinv control signalline 413-2, and a gate of pull-down transistor 407-2 can be coupled toan OR control signal line.

The gate of transistor 439-1 can be referred to as node S1, and the gateof transistor 439-2 can be referred to as node S2. The circuit shown inFIG. 4 stores accumulator data dynamically on nodes S1 and S2.Activating the LOAD control signal causes load/pass transistors 418-1and 418-2 to conduct, and thereby load complementary data onto nodes S1and S2. The LOAD control signal can be elevated to a voltage greaterthan VDD to pass a full VDD level to S1/S2. However, elevating the LOADcontrol signal to a voltage greater than VDD is optional, andfunctionality of the circuit shown in FIG. 4 is not contingent on theLOAD control signal being elevated to a voltage greater than VDD.

The configuration of compute component 431 shown in FIG. 4 has thebenefit of balancing the sense amplifier for functionality when thepull-down transistors 407-1, 407-2, 414-1, and 414-2 are conductingbefore the sense amplifier 406 is fired (e.g., during pre-seeding of thesense amplifier 406). As used herein, firing the sense amplifier 406refers to enabling the sense amplifier 406 to set the primary latch andsubsequently disabling the sense amplifier 406 to retain the set primarylatch. Performing logical operations after equilibration is disabled (inthe sense amp), but before the sense amplifier fires, can save powerusage because the latch of the sense amplifier does not have to be“flipped” using full rail voltages (e.g., VDD, GND).

Inverting transistors can pull-down a respective data line in performingcertain logical operations. For example, transistor 416-1 (having a gatecoupled to S2 of the dynamic latch) in series with transistor 414-1(having a gate coupled to an ANDinv control signal line 413-1) can beoperated to pull-down data line 405-1 (D), and transistor 416-2 (havinga gate coupled to S1 of the dynamic latch) in series with transistor414-2 (having a gate coupled to an ANDinv control signal line 413-2) canbe operated to pull-down data line 405-2 (D_.

The latch 482 can be controllably enabled by coupling to an activenegative control signal line 412-1 (ACCUMB) and an active positivecontrol signal line 412-2 (ACCUM) rather than be configured to becontinuously enabled by coupling to ground and VDD. In variousembodiments, load/pass transistors 408-1 and 408-2 can each having agate coupled to one of a LOAD control signal or a PASSD/PASSDB controlsignal.

According to some embodiments, the gates of load/pass transistors 418-1and 418-2 can be commonly coupled to a LOAD control signal. In theconfiguration where the gates of load/pass transistors 418-1 and 418-2are commonly coupled to the LOAD control signal, load/pass transistors418-1 and 418-2 can be load transistors. Activating the LOAD controlsignal causes the load transistors to conduct, and thereby loadcomplementary data onto nodes S1 and S2. The LOAD control signal can beelevated to a voltage greater than VDD to pass a full VDD level toS1/S2. However, the LOAD control signal need not be elevated to avoltage greater than VDD is optional, and functionality of the circuitshown in FIG. 4 is not contingent on the LOAD control signal beingelevated to a voltage greater than VDD.

According to some embodiments, the gate of load/pass transistor 418-1can be coupled to a PASSD control signal, and the gate of load/passtransistor 418-2 can be coupled to a PASSDb control signal. In theconfiguration where the gates of load/pass transistors 418-1 and 418-2are respectively coupled to one of the PASSD and PASSDb control signals,load/pass transistors 418-1 and 418-2 can be pass transistors. Passtransistors can be operated differently (e.g., at different times and/orunder different voltage/current conditions) than load transistors. Assuch, the configuration of pass transistors can be different than theconfiguration of load transistors.

Load transistors are constructed to handle loading associated withcoupling data lines to the local dynamic nodes S1 and S2, for example.Pass transistors are constructed to handle heavier loading associatedwith coupling data lines to an adjacent accumulator (e.g., through theshift circuitry 423, as shown in FIG. 4). According to some embodiments,load/pass transistors 418-1 and 418-2 can be configured to accommodatethe heavier loading corresponding to a pass transistor but be coupledand operated as a load transistor. Load/pass transistors 418-1 and 418-2configured as pass transistors can also be utilized as load transistors.However, load/pass transistors 418-1 and 418-2 configured as loadtransistors may not be capable of being utilized as pass transistors.

In a number of embodiments, the compute component 431, including thelatch 482, can comprise a number of transistors formed on pitch with thetransistors of the corresponding memory cells of an array (e.g., array430 shown in FIG. 4) to which they are coupled, which may conform to aparticular feature size (e.g., 4F², 6F², etc.). According to variousembodiments, latch 482 includes four transistors 408-1, 408-2, 409-1,and 409-2 coupled to a pair of complementary data lines D 405-1 and D_405-2 through load/pass transistors 418-1 and 418-2. However,embodiments are not limited to this configuration. The latch 482 can bea cross coupled latch (e.g., gates of a pair of transistors, such asn-channel transistors (e.g., NMOS transistors) 409-1 and 409-2 are crosscoupled with the gates of another pair of transistors, such as p-channeltransistors (e.g., PMOS transistors) 408-1 and 408-2). As describedfurther herein, the cross coupled latch 482 can be referred to as astatic latch.

The voltages or currents on the respective data lines D and D_ can beprovided to the respective latch inputs 484-1 and 484-2 of the crosscoupled latch 482 (e.g., the input of the secondary latch). In thisexample, the latch input 484-1 is coupled to a first source/drain regionof transistors 408-1 and 409-1 as well as to the gates of transistors408-2 and 409-2. Similarly, the latch input 484-2 can be coupled to afirst source/drain region of transistors 408-2 and 409-2 as well as tothe gates of transistors 408-1 and 409-1.

In this example, a second source/drain region of transistor 409-1 and409-2 is commonly coupled to a negative control signal line 412-1 (e.g.,ground (GND) or ACCUMB control signal similar to control signal RnIFshown in FIG. 5 with respect to the primary latch). A secondsource/drain region of transistors 408-1 and 408-2 is commonly coupledto a positive control signal line 412-2 (e.g., VDD or ACCUM controlsignal similar to control signal ACT shown in FIG. 5 with respect to theprimary latch). The positive control signal 412-2 can provide a supplyvoltage (e.g., VDD) and the negative control signal 412-1 can be areference voltage (e.g., ground) to enable the cross coupled latch 482.According to some embodiments, the second source/drain region oftransistors 408-1 and 408-2 are commonly coupled directly to the supplyvoltage (e.g., VDD), and the second source/drain region of transistor409-1 and 409-2 are commonly coupled directly to the reference voltage(e.g., ground) so as to continuously enable latch 482.

The enabled cross coupled latch 482 operates to amplify a differentialvoltage between latch input 484-1 (e.g., first common node) and latchinput 484-2 (e.g., second common node) such that latch input 484-1 isdriven to either the activated positive control signal voltage (e.g.,VDD) or the activated negative control signal voltage (e.g., ground),and latch input 484-2 is driven to the other of the activated positivecontrol signal voltage (e.g., VDD) or the activated negative controlsignal voltage (e.g., ground).

FIG. 5 illustrates a schematic diagram of a portion of sensing circuitryin accordance with a number of embodiments of the present disclosure.According to various embodiments, sense amplifier 406 can comprise across coupled latch. However, embodiments of the sense amplifier 506 arenot limited to the a cross coupled latch. As an example, the senseamplifier 506 can be current-mode sense amplifier and/or single-endedsense amplifier (e.g., sense amplifier coupled to one data line). Also,embodiments of the present disclosure are not limited to a folded dataline architecture.

In a number of embodiments, a sense amplifier (e.g., 506) can comprise anumber of transistors formed on pitch with the transistors of thecorresponding compute component 531 and/or the memory cells of an array(e.g., array 430 shown in FIG. 4) to which they are coupled, which mayconform to a particular feature size (e.g., 4F², 6F², etc.). The senseamplifier 506 comprises a latch 515 including four transistors coupledto a pair of complementary data lines D 505-1 and D_ 505-2. The latch515 can be a cross coupled latch (e.g., gates of a pair of transistors,such as n-channel transistors (e.g., NMOS transistors) 527-1 and 527-2are cross coupled with the gates of another pair of transistors, such asp-channel transistors (e.g., PMOS transistors) 529-1 and 529-2). Asdescribed further herein, the latch 515 comprising transistors 527-1,527-2, 529-1, and 529-2 can be referred to as a primary latch. However,embodiments are not limited to this example.

The voltages or currents on the respective data lines D and D_ can beprovided to the respective latch inputs 533-1 and 533-2 of the crosscoupled latch 515 (e.g., the input of the secondary latch). In thisexample, the latch input 533-1 is coupled to a first source/drain regionof transistors 527-1 and 529-1 as well as to the gates of transistors527-2 and 529-2. Similarly, the latch input 533-2 can be coupled to afirst source/drain region of transistors 527-2 and 529-2 as well as tothe gates of transistors 527-1 and 529-1. The compute component 533(e.g., accumulator) can be coupled to latch inputs 533-1 and 533-2 ofthe cross coupled latch 515 as shown; however, embodiments are notlimited to the example shown in FIG. 5.

In this example, a second source/drain region of transistor 527-1 and527-2 is commonly coupled to an active negative control signal 528(RnIF). A second source/drain region of transistors 529-1 and 529-2 iscommonly coupled to an active positive control signal 590 (ACT). The ACTsignal 590 can be a supply voltage (e.g., VDD) and the RnIF signal canbe a reference voltage (e.g., ground). Activating signals 528 and 590enables the cross coupled latch 515.

The enabled cross coupled latch 515 operates to amplify a differentialvoltage between latch input 533-1 (e.g., first common node) and latchinput 533-2 (e.g., second common node) such that latch input 533-1 isdriven to one of the ACT signal voltage and the RnIF signal voltage(e.g., to one of VDD and ground), and latch input 533-2 is driven to theother of the ACT signal voltage and the RnIF signal voltage.

The sense amplifier 506 can also include circuitry configured toequilibrate the data lines D and D_ (e.g., in association with preparingthe sense amplifier for a sensing operation). In this example, theequilibration circuitry comprises a transistor 588 having a firstsource/drain region coupled to a first source/drain region of transistor586-1 and data line D 505-1. A second source/drain region of transistor588 can be coupled to a first source/drain region of transistor 586-2and data line D_ 505-2. A gate of transistor 588 can be coupled to gatesof transistors 586-1 and 586-2.

The second source drain regions of transistors 586-1 and 586-2 arecoupled to an equilibration voltage 538 (e.g., VDD/2), which can beequal to VDD/2, where VDD is a supply voltage associated with the array.The gates of transistors 588, 586-1, and 586-2 can be coupled to controlsignal 586 (EQ). As such, activating EQ enables the transistors 588,586-1, and 586-2, which effectively shorts data line D to data line D_such that the data lines D and D_ are equilibrated to equilibrationvoltage VDD/2. According to various embodiments of the presentdisclosure, a number of logical operations can be performed using thesense amplifier, and storing the result in the compute component (e.g.,accumulator).

As shown in FIG. 4, the sense amplifier 406 and the compute component431 can be coupled to the array 430 via shift circuitry 423. In thisexample, the shift circuitry 423 comprises a pair of isolation devices(e.g., isolation transistors 421-1 and 421-2) coupled to data lines405-1 (D) and 405-2 (D), respectively). The isolation transistors 421-1and 421-2 are coupled to a control signal 480 (NORM) that, whenactivated, enables (e.g., turns on) the isolation transistors 421-1 and421-2 to couple the corresponding sense amplifier 406 and computecomponent 431 to a corresponding column of memory cells (e.g., to acorresponding pair of complementary data lines 405-1 (D) and 405-2(D_)). According to various embodiments, conduction of isolationtransistors 421-1 and 421-2 can be referred to as a “normal”configuration of the shift circuitry 423.

In the example illustrated in FIG. 4, the shift circuitry 423 includesanother (e.g., a second) pair of isolation devices (e.g., isolationtransistors 421-3 and 421-4) coupled to a complementary control signal419 (SHIFT), which can be activated, for example, when NORM isdeactivated. The isolation transistors 421-3 and 421-4 can be operated(e.g., via control signal 419) such that a particular sense amplifier406 and compute component 431 are coupled to a different pair ofcomplementary data lines (e.g., a pair of complementary data linesdifferent than the pair of complementary data lines to which isolationtransistors 421-1 and 421-2 couple the particular sense amplifier 406and compute component 431), or can couple a particular sense amplifier406 and compute component 431 to another memory array (and isolate theparticular sense amplifier 406 and compute component 431 from a firstmemory array). According to various embodiments, the shift circuitry 423can be arranged as a portion of (e.g., within) the sense amplifier 406,for instance.

Although the shift circuitry 423 shown in FIG. 4 includes isolationtransistors 421-1 and 421-2 used to couple particular sensing circuitry450 (e.g., a particular sense amplifier 406 and corresponding computecomponent 431) to a particular pair of complementary data lines 405-1(D) and 405-2 (D_) (e.g., DIGIT(n) and DIGIT(n)_) and isolationtransistors 421-3 and 421-4 are arranged to couple the particularsensing circuitry 450 to an adjacent pair of complementary data lines inone particular direction (e.g., adjacent data lines DIGIT(n+1) andDIGIT(n+1)_ shown to the right in FIG. 4), embodiments of the presentdisclosure are not so limited. For instance, shift circuitry can includeisolation transistors 421-1 and 421-2 used to couple particular sensingcircuitry to a particular pair of complementary data lines (e.g.,DIGIT(n) and DIGIT(n)_and isolation transistors 421-3 and 421-4 arrangedso as to be used to couple the particular sensing circuitry to anadjacent pair of complementary data lines in another particulardirection (e.g., adjacent data lines DIGIT(n−1) and DIGIT(n−1)_ shown tothe left in FIG. 4).

Embodiments of the present disclosure are not limited to theconfiguration of shift circuitry 423 shown in FIG. 4. In a number ofembodiments, shift circuitry 423 such as that shown in FIG. 4 can beoperated (e.g., in conjunction with sense amplifiers 406 and computecomponents 431) in association with performing compute functions such asadding and subtracting functions without transferring data out of thesensing circuitry 450 via an I/O line (e.g., local I/O line (IO/IO)),for instance.

Although not shown in FIG. 4, each column of memory cells can be coupledto a column decode line that can be activated to transfer, via local I/Oline, a data value from a corresponding sense amplifier 406 and/orcompute component 431 to a control component external to the array suchas an external processing resource (e.g., host processor and/or otherfunctional unit circuitry). The column decode line can be coupled to acolumn decoder (e.g., column decoder). However, as described herein, ina number of embodiments, data need not be transferred via such I/O linesto perform logical operations in accordance with embodiments of thepresent disclosure. In a number of embodiments, shift circuitry 423 canbe operated in conjunction with sense amplifiers 406 and computecomponents 431 to perform compute functions such as adding andsubtracting functions without transferring data to a control componentexternal to the array, for instance.

The sensing circuitry 450 can be operated in several modes to performlogical operations, including a first mode in which a result of thelogical operation is initially stored in the sense amplifier 406, and asecond mode in which a result of the logical operation is initiallystored in the compute component 431. Operation of the sensing circuitry450 in the first mode is described below with respect to FIGS. 3 and 4,and operation of the sensing circuitry 450 in the second mode isdescribed with respect to FIGS. 2B to 3E. Additionally with respect tothe first operating mode, sensing circuitry 450 can be operated in bothpre-sensing (e.g., sense amps fired before logical operation controlsignal active) and post-sensing (e.g., sense amps fired after logicaloperation control signal active) modes with a result of a logicaloperation being initially stored in the sense amplifier 406.

As described further below, the sense amplifier 406 can, in conjunctionwith the compute component 431, be operated to perform various logicaloperations using data from an array as input. In a number ofembodiments, the result of a logical operation can be stored back to thearray without transferring the data via a data line address access(e.g., without firing a column decode signal such that data istransferred to circuitry external from the array and sensing circuitryvia local I/O lines). As such, a number of embodiments of the presentdisclosure can enable performing logical operations and computefunctions associated therewith using less power than various previousapproaches. Additionally, since a number of embodiments eliminate theneed to transfer data across I/O lines in order to perform computefunctions (e.g., between memory and discrete processor), a number ofembodiments can enable an increased parallel processing capability ascompared to previous approaches.

The functionality of the sensing circuitry 450 of FIG. 4 is describedbelow and summarized in Table 2 below with respect to performing logicaloperations and initially storing a result in the sense amplifier 406.Initially storing the result of a particular logical operation in theprimary latch of sense amplifier 406 can provide improved versatility ascompared to previous approaches in which the result may initially residein a secondary latch (e.g., accumulator) of a compute component 431, andthen be subsequently transferred to the sense amplifier 406, forinstance.

TABLE 2 Operation Accumulator Sense Amp AND Unchanged Result ORUnchanged Result NOT Unchanged Result SHIFT Unchanged Shifted Data

Initially storing the result of a particular operation in the senseamplifier 406 (e.g., without having to perform an additional operationto move the result from the compute component 431 (e.g., accumulator) tothe sense amplifier 406) is advantageous because, for instance, theresult can be written to a row (of the array of memory cells) or backinto the accumulator without performing a precharge cycle (e.g., on thecomplementary data lines 405-1 (D) and/or 405-2 (D_)).

FIG. 6A illustrates a timing diagram associated with performing a numberof logical operations using sensing circuitry in accordance with anumber of embodiments of the present disclosure. FIG. 6A illustrates atiming diagram associated with initiating an AND logical operation afterstarting to load the second operand (e.g., Row Y data value) into thesense amplifier. FIG. 6A illustrates the sense amplifier and accumulatorsignals for various combinations of first and second operand datavalues. FIG. 6A shows the respective sense amplifier and accumulatorsignals corresponding to each combination of Row X data value and Row Ydata value in each set. The particular timing diagram signals arediscussed below with respect to the pseudo code associated with an ANDoperation of the circuit shown in FIG. 4.

An example of pseudo code associated with loading (e.g., copying) afirst data value stored in a cell coupled to row 404-X into theaccumulator can be summarized as follows:

Copy Row X into the Accumulator:

-   -   Deactivate EQ    -   Activate Row X    -   Fire Sense Amps (after which Row X data resides in the sense        amps)    -   Activate LOAD (sense amplifier data (Row X) is transferred to        nodes S1 and S2 of the Accumulator and resides there        dynamically)    -   Close LOAD    -   Close Row X    -   Precharge

In the pseudo code above, “Deactivate EQ” indicates that anequilibration signal (EQ signal shown in FIG. 6A) corresponding to thesense amplifier 406 is disabled at t₁ as shown in FIG. 6A (e.g., suchthat the complementary data lines (e.g., 405-1 (D) and 405-2 (D_) are nolonger shorted to VDD/2). After equilibration is disabled, a selectedrow (e.g., ROW X) is activated as indicated by “Activate Row X” in thepseudo code and shown at t₂ for signal Row X in FIG. 6A. When thevoltage signal applied to ROW X reaches the threshold voltage (Vt) ofthe access transistor (e.g., 402-2) corresponding to the selected cell,the access transistor turns on and couples the data line (e.g., 405-2(D_)) to the selected cell (e.g., to capacitor 403-2) which creates adifferential voltage signal between the data lines.

After Row X is activated (e.g., selected), in the pseudo code above,“Fire Sense Amps” indicates that the sense amplifier 406 is enabled toset the primary latch and subsequently disabled. For example, as shownat t₃ in FIG. 6A, the ACT positive control signal (e.g., 590 shown inFIG. 5) goes high and the RnIF negative control signal (e.g., 528 shownin FIG. 5) goes low, which amplifies the differential signal between405-1 (D) and D_ 405-2, resulting in a voltage (e.g., V_(DD))corresponding to a logic 1 or a voltage (e.g., GND) corresponding to alogic 0 being on data line 405-1 (D) (and the voltage corresponding tothe other logic state being on complementary data line 405-2 (D_)). Thesensed data value is stored in the primary latch of sense amplifier 406.The primary energy consumption occurs in charging the data lines (e.g.,405-1 (D) or 405-2 (D_)) from the equilibration voltage V_(DD)/2 to therail voltage V_(DD).

The four sets of possible sense amplifier and accumulator signalsillustrated in FIG. 6A (e.g., one for each combination of Row X and RowY data values) shows the behavior of signals on data lines D and D_. TheRow X data value is stored in the primary latch of the sense amplifier.It should be noted that FIG. 4 shows that the memory cell includingstorage element 402-2, corresponding to Row X, is coupled to thecomplementary data line D_, while the memory cell including storageelement 402-1, corresponding to Row Y, is coupled to data line D.However, as can be seen in FIG. 4, the charge stored in memory cell402-2 (corresponding to Row X) corresponding to a “0” data value causesthe voltage on data line D_ (to which memory cell 402-2 is coupled) togo high and the charge stored in memory cell 402-2 corresponding to a“1” data value causes the voltage on data line D_ to go low, which isopposite correspondence between data states and charge stored in memorycell 402-2, corresponding to Row Y, that is coupled to data line D.These differences in storing charge in memory cells coupled to differentdata lines is appropriately accounted for when writing data values tothe respective memory cells.

After firing the sense amps, in the pseudo code above, “Activate LOAD”indicates that the LOAD control signal goes high as shown at t₄ in FIG.6A, causing load/pass transistors 418-1 and 418-2 to conduct. In thismanner, activating the LOAD control signal enables the secondary latchin the accumulator of the compute component 431. The sensed data valuestored in the sense amplifier 406 is transferred (e.g., copied) to thesecondary latch. As shown for each of the four sets of possible senseamplifier and accumulator signals illustrated in FIG. 6A, the behaviorat inputs of the secondary latch of the accumulator indicates thesecondary latch is loaded with the Row X data value. As shown in FIG.6A, the secondary latch of the accumulator may flip (e.g., seeaccumulator signals for Row X=“0” and Row Y=“0” and for Row X=“1” andRow Y=“0”), or not flip (e.g., see accumulator signals for Row X=“0” andRow Y=“1” and for Row X=“1” and Row Y=“1”), depending on the data valuepreviously stored in the dynamic latch.

After setting the secondary latch from the data values stored in thesense amplifier (and present on the data lines 405-1 (D) and 405-2 (D),in the pseudo code above, “Close LOAD” indicates that the LOAD controlsignal goes back low as shown at t₅ in FIG. 6A to cause the load/passtransistors 418-1 and 418-2 to stop conducting and thereby isolate thedynamic latch from the complementary data lines. However, the data valueremains dynamically stored in secondary latch of the accumulator.

After storing the data value on the secondary latch, the selected row(e.g., ROW X) is deactivated as indicated by “Close Row X” and indicatedat t₆ in FIG. 6A, which can be accomplished by the access transistorturning off to decouple the selected cell from the corresponding dataline. Once the selected row is closed and the memory cell is isolatedfrom the data lines, the data lines can be precharged as indicated bythe “Precharge” in the pseudo code above. A precharge of the data linescan be accomplished by an equilibrate operation, as indicated in FIG. 6Aby the EQ signal going high at t₇. As shown in each of the four sets ofpossible sense amplifier and accumulator signals illustrated in FIG. 6Aat t₇, the equilibrate operation causes the voltage on data lines D andD_ to each return to V_(DD)/2. Equilibration can occur, for instance,prior to a memory cell sensing operation or the logical operations(described below).

A subsequent operation phase associated with performing the AND or theOR operation on the first data value (now stored in the sense amplifier406 and the secondary latch of the compute component 431) and the seconddata value (stored in a memory cell 402-1 coupled to Row Y 404-Y)includes performing particular steps which depend on the whether an ANDor an OR is to be performed. Examples of pseudo code associated with“ANDing” and “ORing” the data value residing in the accumulator (e.g.,the first data value stored in the memory cell 402-2 coupled to Row X404-X) and the second data value (e.g., the data value stored in thememory cell 402-1 coupled to Row Y 404-Y) are summarized below. Examplepseudo code associated with “ANDing” the data values can include:

Deactivate EQ

Activate Row Y

Fire Sense Amps (after which Row Y data resides in the sense amps)

Close Row Y

-   -   The result of the logic operation, in the next operation, will        be placed on the sense amp, which will overwrite any row that is        Activate.    -   Even when Row Y is closed, the sense amplifier still contains        the Row Y data value.

Activate AND

-   -   This results in the sense amplifier being written to the value        of the function (e.g., Row X AND Row Y)    -   If the accumulator contains a “0” (i.e., a voltage corresponding        to a “0” on node S2 and a voltage corresponding to a “1” on node        S1), the sense amplifier data is written to a “0”    -   If the accumulator contains a “1” (i.e., a voltage corresponding        to a “1” on node S2 and a voltage corresponding to a “0” on node        S1), the sense amplifier data remains unchanged (Row Y data)    -   This operation leaves the data in the accumulator unchanged.

Close AND

Precharge

In the pseudo code above, “Deactivate EQ” indicates that anequilibration signal corresponding to the sense amplifier 406 isdisabled (e.g., such that the complementary data lines 405-1 (D) and405-2 (D_) are no longer shorted to V_(DD)/2), which is illustrated inFIG. 6A at t₈. After equilibration is disabled, a selected row (e.g.,ROW Y) is activated as indicated in the pseudo code above by “ActivateRow Y” and shown in FIG. 6A at t₉. When the voltage signal applied toROW Y reaches the threshold voltage (Vt) of the access transistor (e.g.,402-1) corresponding to the selected cell, the access transistor turnson and couples the data line (e.g., D_ 405-1) to the selected cell(e.g., to capacitor 403-1) which creates a differential voltage signalbetween the data lines.

After Row Y is activated, in the pseudo code above, “Fire Sense Amps”indicates that the sense activated 406 is enabled to amplify thedifferential signal between 405-1 (D) and 405-2 (D_), resulting in avoltage (e.g., V_(DD)) corresponding to a logic 1 or a voltage (e.g.,GND) corresponding to a logic 0 being on data line 405-1 (D) (and thevoltage corresponding to the other logic state being on complementarydata line 405-2 (D_)). As shown at t₁₀ in FIG. 6A, the ACT positivecontrol signal (e.g., 590 shown in FIG. 5) goes high and the RnIFnegative control signal (e.g., 528 shown in FIG. 5) goes low to fire thesense amplifiers. The sensed data value from memory cell 402-1 is storedin the primary latch of sense amplifiers 406, as previously described.The secondary latch still corresponds to the data value from memory cell402-2 since the dynamic latch is unchanged.

After the second data value sensed from the memory cell 402-1 coupled toRow Y is stored in the primary latch of sense amplifier 406, in thepseudo code above, “Close Row Y” indicates that the selected row (e.g.,ROW Y) can be deactivated if it is not desired to store the result ofthe AND logical operation back in the memory cell corresponding to RowY. However, FIG. 6A shows that Row Y is left active such that the resultof the logical operation can be stored back in the memory cellcorresponding to Row Y. Isolating the memory cell corresponding to Row Ycan be accomplished by the access transistor turning off to decouple theselected cell 402-1 from the data line 405-1 (D). After the selected RowY is configured (e.g., to isolate the memory cell or not isolate thememory cell), “Activate AND” in the pseudo code above indicates that theAND control signal goes high as shown in FIG. 6A at t₁₁, causing passtransistor 407-1 to conduct. In this manner, activating the AND controlsignal causes the value of the function (e.g., Row X AND Row Y) to bewritten to the sense amplifier.

With the first data value (e.g., Row X) stored in the dynamic latch ofthe accumulator 431 and the second data value (e.g., Row Y) stored inthe sense amplifier 406, if the dynamic latch of the compute component431 contains a “0” (i.e., a voltage corresponding to a “0” on node S2and a voltage corresponding to a “1” on node S1), the sense amplifierdata is written to a “0” (regardless of the data value previously storedin the sense amplifier) since the voltage corresponding to a “1” on nodeS1 causes transistor 409-1 to conduct thereby coupling the senseamplifier 406 to ground through transistor 409-1, pass transistor 407-1and data line 405-1 (D). When either data value of an AND operation is“0,” the result is a “0.” Here, when the second data value (in thedynamic latch) is a “0,” the result of the AND operation is a “0”regardless of the state of the first data value, and so theconfiguration of the sensing circuitry causes the “0” result to bewritten and initially stored in the sense amplifier 406. This operationleaves the data value in the accumulator unchanged (e.g., from Row X).

If the secondary latch of the accumulator contains a “1” (e.g., from RowX), then the result of the AND operation depends on the data valuestored in the sense amplifier 406 (e.g., from Row Y). The result of theAND operation should be a “1” if the data value stored in the senseamplifier 406 (e.g., from Row Y) is also a “1,” but the result of theAND operation should be a “0” if the data value stored in the senseamplifier 406 (e.g., from Row Y) is also a “0.” The sensing circuitry450 is configured such that if the dynamic latch of the accumulatorcontains a “1” (i.e., a voltage corresponding to a “1” on node S2 and avoltage corresponding to a “0” on node S1), transistor 409-1 does notconduct, the sense amplifier is not coupled to ground (as describedabove), and the data value previously stored in the sense amplifier 406remains unchanged (e.g., Row Y data value so the AND operation result isa “1” if the Row Y data value is a “1” and the AND operation result is a“0” if the Row Y data value is a “0”). This operation leaves the datavalue in the accumulator unchanged (e.g., from Row X).

After the result of the AND operation is initially stored in the senseamplifier 406, “Close AND” in the pseudo code above indicates that theAND control signal goes low as shown at t₁₂ in FIG. 6A, causing passtransistor 407-1 to stop conducting to isolate the sense amplifier 406(and data line 405-1 (D)) from ground. If not previously done, Row Y canbe closed (as shown at t₁₃ in FIG. 6A) and the sense amplifier can bedisabled (as shown at t₁₄ in FIG. 6A by the ACT positive control signalgoing low and the RnIF negative control signal goes high). With the datalines isolated, “Precharge” in the pseudo code above can cause aprecharge of the data lines by an equilibrate operation, as describedpreviously (e.g., commencing at t₁₄ shown in FIG. 6A).

FIG. 6A shows, in the alternative, the behavior of voltage signals onthe data lines (e.g., 405-1 (D) and 405-2 (D_) shown in FIG. 4) coupledto the sense amplifier (e.g., 406 shown in FIG. 4) and the behavior ofvoltage signals on nodes S1 and S1 of the secondary latch of the computecomponent (e.g., 431 shown in FIG. 4) for an AND logical operationinvolving each of the possible combination of operands (e.g., Row X/RowY data values 00, 10, 01, and 11).

Although the timing diagrams illustrated in FIG. 6A and the pseudo codedescribed above indicate initiating the AND logical operation afterstarting to load the second operand (e.g., Row Y data value) into thesense amplifier, the circuit shown in FIG. 4 can be successfullyoperated by initiating the AND logical operation before starting to loadthe second operand (e.g., Row Y data value) into the sense amplifier.

FIG. 6B illustrates a timing diagram associated with performing a numberof logical operations using sensing circuitry in accordance with anumber of embodiments of the present disclosure. FIG. 6B illustrates atiming diagram associated with initiating an OR logical operation afterstarting to load the second operand (e.g., Row Y data value) into thesense amplifier. FIG. 6B illustrates the sense amplifier and accumulatorsignals for various combinations of first and second operand datavalues. The particular timing diagram signals are discussed below withrespect to the pseudo code associated with an AND logical operation ofthe circuit shown in FIG. 4.

A subsequent operation phase can alternately be associated withperforming the OR operation on the first data value (now stored in thesense amplifier 406 and the secondary latch of the compute component431) and the second data value (stored in a memory cell 402-1 coupled toRow Y 404-Y). The operations to load the Row X data into the senseamplifier and accumulator that were previously described with respect totimes t₁-t₇ shown in FIG. 6A are not repeated with respect to FIG. 6B.Example pseudo code associated with “ORing” the data values can include:

Deactivate EQ

Activate Row Y

Fire Sense Amps (after which Row Y data resides in the sense amps)

Close Row Y

-   -   When Row Y is closed, the sense amplifier still contains the Row        Y data value.

Activate OR

-   -   This results in the sense amplifier being written to the value        of the function (e.g., Row X OR Row Y), which may overwrite the        data value from Row Y previously stored in the sense amplifier        as follows:    -   If the accumulator contains a “0” (i.e., a voltage corresponding        to a “0” on node S2 and a voltage corresponding to a “1” on node        S1), the sense amplifier data remains unchanged (Row Y data)    -   If the accumulator contains a “1” (i.e., a voltage corresponding        to a “1” on node S2 and a voltage corresponding to a “0” on node        S1), the sense amplifier data is written to a “1”    -   This operation leaves the data in the accumulator unchanged.

Close OR

Precharge

The “Deactivate EQ” (shown at t₈ in FIG. 6B), “Activate Row Y” (shown att₉ in FIG. 6B), “Fire Sense Amps” (shown at t₁₀ in FIG. 6B), and “CloseRow Y” (shown at t₁₃ in FIG. 6B, and which may occur prior to initiatingthe particular logical function control signal), shown in the pseudocode above indicate the same functionality as previously described withrespect to the AND operation pseudo code. Once the configuration ofselected Row Y is appropriately configured (e.g., activated if logicaloperation result is to be stored in memory cell corresponding to Row Yor closed to isolate memory cell if result if logical operation resultis not to be stored in memory cell corresponding to Row Y), “ActivateOR” in the pseudo code above indicates that the OR control signal goeshigh as shown at t₁₁ in FIG. 6B, which causes pass transistor 407-2 toconduct. In this manner, activating the OR control signal causes thevalue of the function (e.g., Row X OR Row Y) to be written to the senseamplifier.

With the first data value (e.g., Row X) stored in the secondary latch ofthe compute component 431 and the second data value (e.g., Row Y) storedin the sense amplifier 406, if the dynamic latch of the accumulatorcontains a “0” (i.e., a voltage corresponding to a “0” on node S2 and avoltage corresponding to a “1” on node S1), then the result of the ORoperation depends on the data value stored in the sense amplifier 406(e.g., from Row Y). The result of the OR operation should be a “1” ifthe data value stored in the sense amplifier 406 (e.g., from Row Y) is a“1,” but the result of the OR operation should be a “0” if the datavalue stored in the sense amplifier 406 (e.g., from Row Y) is also a“0.” The sensing circuitry 450 is configured such that if the dynamiclatch of the accumulator contains a “0,” with the voltage correspondingto a “0” on node S2, transistor 409-2 is off and does not conduct (andpass transistor 407-1 is also off since the AND control signal is notasserted) so the sense amplifier 406 is not coupled to ground (eitherside), and the data value previously stored in the sense amplifier 406remains unchanged (e.g., Row Y data value such that the OR operationresult is a “1” if the Row Y data value is a “1” and the OR operationresult is a “0” if the Row Y data value is a “0”).

If the dynamic latch of the accumulator contains a “1” (i.e., a voltagecorresponding to a “1” on node S2 and a voltage corresponding to a “0”on node S1), transistor 409-2 does conduct (as does pass transistor407-2 since the OR control signal is asserted), and the sense amplifier406 input coupled to data line 405-2 (D_) is coupled to ground since thevoltage corresponding to a “1” on node S2 causes transistor 409-2 toconduct along with pass transistor 407-2 (which also conducts since theOR control signal is asserted). In this manner, a “1” is initiallystored in the sense amplifier 406 as a result of the OR operation whenthe secondary latch of the accumulator contains a “1” regardless of thedata value previously stored in the sense amplifier. This operationleaves the data in the accumulator unchanged. FIG. 6B shows, in thealternative, the behavior of voltage signals on the data lines (e.g.,405-1 (D) and 405-2 (D_) shown in FIG. 4) coupled to the sense amplifier(e.g., 406 shown in FIG. 4) and the behavior of voltage signals on nodesS1 and S2 of the secondary latch of the compute component 431 for an ORlogical operation involving each of the possible combination of operands(e.g., Row X/Row Y data values 00, 10, 01, and 11).

After the result of the OR operation is initially stored in the senseamplifier 406, “Close OR” in the pseudo code above indicates that the ORcontrol signal goes low as shown at t₁₂ in FIG. 6B, causing passtransistor 407-2 to stop conducting to isolate the sense amplifier 406(and data line D 405-2) from ground. If not previously done, Row Y canbe closed (as shown at t₁₃ in FIG. 6B) and the sense amplifier can bedisabled (as shown at t₁₄ in FIG. 6B by the ACT positive control signalgoing low and the RnIF negative control signal going high). With thedata lines isolated, “Precharge” in the pseudo code above can cause aprecharge of the data lines by an equilibrate operation, as describedpreviously and shown at t₁₄ in FIG. 6B.

The sensing circuitry 450 illustrated in FIG. 4 can provide additionallogical operations flexibility as follows. By substituting operation ofthe ANDinv control signal for operation of the AND control signal,and/or substituting operation of the ORinv control signal for operationof the OR control signal in the AND and OR operations described above,the logical operations can be changed from {Row X AND Row Y} to {˜Row XAND Row Y} (where “˜Row X” indicates an opposite of the Row X datavalue, e.g., NOT Row X) and can be changed from {Row X OR Row Y} to{˜Row X OR Row Y}. For example, during an AND operation involving theinverted data values, the ANDinv control signal can be asserted insteadof the AND control signal, and during an OR operation involving theinverted data values, the ORInv control signal can be asserted insteadof the OR control signal. Activating the ORinv control signal causestransistor 414-1 to conduct and activating the ANDinv control signalcauses transistor 414-2 to conduct. In each case, asserting theappropriate inverted control signal can flip the sense amplifier andcause the result initially stored in the sense amplifier 406 to be thatof the AND operation using inverted Row X and true Row Y data values orthat of the OR operation using the inverted Row X and true Row Y datavalues. A true or compliment version of one data value can be used inthe accumulator to perform the logical operation (e.g., AND, OR), forexample, by loading a data value to be inverted first and a data valuethat is not to be inverted second.

In a similar approach to that described above with respect to invertingthe data values for the AND and OR operations described above, thesensing circuitry shown in FIG. 4 can perform a NOT (e.g., invert)operation by putting the non-inverted data value into the dynamic latchof the accumulator and using that data to invert the data value in thesense amplifier 406. As previously mentioned, activating the ORinvcontrol signal causes transistor 414-1 to conduct and activating theANDinv control signal causes transistor 414-2 to conduct. The ORinvand/or ANDinv control signals are used in implementing the NOT function,as described further below:

Copy Row X into the Accumulator

-   -   Deactivate EQ    -   Activate Row X    -   Fire Sense Amps (after which Row X data resides in the sense        amps)    -   Activate LOAD (sense amplifier data (Row X) is transferred to        nodes S1 and S2 of the Accumulator and resides there dynamically    -   Close LOAD    -   Activate ANDinv and ORinv (which puts the compliment data value        on the data lines)        This results in the data value in the sense amplifier being        inverted (e.g., the sense amplifier latch is flipped)    -   This operation leaves the data in the accumulator unchanged    -   Close ANDinv and ORinv    -   Close Row X    -   Precharge

The “Deactivate EQ,” “Activate Row X,” “Fire Sense Amps,” “ActivateLOAD,” and “Close LOAD” shown in the pseudo code above indicate the samefunctionality as the same operations in the pseudo code for the “CopyRow X into the Accumulator” initial operation phase described aboveprior to pseudo code for the AND operation and OR operation. However,rather than closing the Row X and Precharging after the Row X data isloaded into the sense amplifier 406 and copied into the dynamic latch, acompliment version of the data value in the dynamic latch of theaccumulator can be placed on the data line and thus transferred to thesense amplifier 406 by enabling (e.g., causing transistor to conduct)and disabling the invert transistors (e.g., ANDinv and ORinv). Thisresults in the sense amplifier 406 being flipped from the true datavalue that was previously stored in the sense amplifier to a complimentdata value (e.g., inverted data value) stored in the sense amplifier.That is, a true or compliment version of the data value in theaccumulator can be transferred to the sense amplifier by activating anddeactivating ANDinv and ORinv. This operation leaves the data in theaccumulator unchanged.

Because the sensing circuitry 450 shown in FIG. 4 initially stores theresult of the AND, OR, and NOT logical operations in the sense amplifier406 (e.g., on the sense amplifier nodes), these logical operationresults can be communicated easily and quickly to any active row, anyrow activated after the logical operation is complete, and/or into thesecondary latch of the compute component 431. The sense amplifier 406and sequencing for the AND, OR, and/or NOT logical operations can alsobe interchanged by appropriate firing of the AND, OR, ANDinv, and/orORinv control signals (and operation of corresponding transistors havinga gate coupled to the particular control signal) before the senseamplifier 406 fires.

When performing logical operations in this manner, the sense amplifier406 can be pre-seeded with a data value from the dynamic latch of theaccumulator to reduce overall current utilized because the sense amps406 are not at full rail voltages (e.g., supply voltage orground/reference voltage) when accumulator function is copied to thesense amplifier 406. An operation sequence with a pre-seeded senseamplifier 406 either forces one of the data lines to the referencevoltage (leaving the complementary data line at V_(DD)/2, or leaves thecomplementary data lines unchanged. The sense amplifier 406 pulls therespective data lines to full rails when the sense amplifier 406 fires.Using this sequence of operations will overwrite data in an ActivateRow.

A SHIFT operation can be accomplished by multiplexing (“muxing”) twoneighboring data line complementary pairs using a traditional DRAMisolation (ISO) scheme. According to embodiments of the presentdisclosure, the shift circuitry 423 can be used for shifting data valuesstored in memory cells coupled to a particular pair of complementarydata lines to the sensing circuitry 450 (e.g., sense amplifier 406)corresponding to a different pair of complementary data lines (e.g.,such as a sense amplifier 406 corresponding to a left or right adjacentpair of complementary data lines. As used herein, a sense amplifier 406corresponds to the pair of complementary data lines to which the senseamplifier is coupled when isolation transistors 421-1 and 421-2 areconducting. The SHIFT operations (right or left) do not pre-copy the RowX data value into the accumulator. Operations to shift right Row X canbe summarized as follows:

Deactivate Norm and Activate Shift

Deactivate EQ

Activate Row X

Fire Sense Amps (after which shifted Row X data resides in the senseamps)

Activate Norm and Deactivate Shift

Close Row X

Precharge

In the pseudo code above, “Deactivate Norm and Activate Shift” indicatesthat a NORM control signal goes low causing isolation transistors 421-1and 421-2 of the shift circuitry 423 to not conduct (e.g., isolate thesense amplifier from the corresponding pair of complementary datalines). The SHIFT control signal goes high causing isolation transistors421-3 and 421-4 to conduct, thereby coupling the sense amplifier 406 tothe left adjacent pair of complementary data lines (e.g., on the memoryarray side of non-conducting isolation transistors 421-1 and 421-2 forthe left adjacent pair of complementary data lines).

After the shift circuitry 423 is configured, the “Deactivate EQ,”“Activate Row X,” and “Fire Sense Amps” shown in the pseudo code aboveindicate the same functionality as the same operations in the pseudocode for the “Copy Row X into the Accumulator” initial operation phasedescribed above prior to pseudo code for the AND operation and ORoperation. After these operations, the Row X data value for the memorycell coupled to the left adjacent pair of complementary data lines isshifted right and stored in the sense amplifier 406.

In the pseudo code above, “Activate Norm and Deactivate Shift” indicatesthat a NORM control signal goes high causing isolation transistors 421-1and 421-2 of the shift circuitry 423 to conduct (e.g., coupling thesense amplifier to the corresponding pair of complementary data lines),and the SHIFT control signal goes low causing isolation transistors421-3 and 421-4 to not conduct and isolating the sense amplifier 406from the left adjacent pair of complementary data lines (e.g., on thememory array side of non-conducting isolation transistors 421-1 and421-2 for the left adjacent pair of complementary data lines). Since RowX is still active, the Row X data value that has been shifted right istransferred to Row X of the corresponding pair of complementary datalines through isolation transistors 421-1 and 421-2.

After the Row X data values are shifted right to the corresponding pairof complementary data lines, the selected row (e.g., ROW X) isdeactivated as indicated by “Close Row X” in the pseudo code above,which can be accomplished by the access transistor turning off todecouple the selected cell from the corresponding data line. Once theselected row is closed and the memory cell is isolated from the datalines, the data lines can be precharged as indicated by the “Precharge”in the pseudo code above. A precharge of the data lines can beaccomplished by an equilibrate operation, as described above.

Operations to shift left Row X can be summarized as follows:

Activate Norm and Deactivate Shift

Deactivate EQ

Activate Row X

Fire Sense Amps (after which Row X data resides in the sense amps)

Deactivate Norm and Activate Shift

-   -   Sense amplifier data (shifted left Row X) is transferred to Row        X

Close Row X

Precharge

In the pseudo code above, “Activate Norm and Deactivate Shift” indicatesthat a NORM control signal goes high causing isolation transistors 421-1and 421-2 of the shift circuitry 423 to conduct, and the SHIFT controlsignal goes low causing isolation transistors 421-3 and 421-4 to notconduct. This configuration couples the sense amplifier 406 to acorresponding pair of complementary data lines and isolates the senseamplifier from the right adjacent pair of complementary data lines.

After the shift circuitry is configured, the “Deactivate EQ,” “ActivateRow X,” and “Fire Sense Amps” shown in the pseudo code above indicatethe same functionality as the same operations in the pseudo code for the“Copy Row X into the Accumulator” initial operation phase describedabove prior to pseudo code for the AND operation and OR operation. Afterthese operations, the Row X data value for the memory cell coupled tothe pair of complementary data lines corresponding to the sensecircuitry 450 is stored in the sense amplifier 406.

In the pseudo code above, “Deactivate Norm and Activate Shift” indicatesthat a NORM control signal goes low causing isolation transistors 421-1and 421-2 of the shift circuitry 423 to not conduct (e.g., isolate thesense amplifier from the corresponding pair of complementary datalines), and the SHIFT control signal goes high causing isolationtransistors 421-3 and 421-4 to conduct coupling the sense amplifier tothe left adjacent pair of complementary data lines (e.g., on the memoryarray side of non-conducting isolation transistors 421-1 and 421-2 forthe left adjacent pair of complementary data lines. Since Row X is stillactive, the Row X data value that has been shifted left is transferredto Row X of the left adjacent pair of complementary data lines.

After the Row X data values are shifted left to the left adjacent pairof complementary data lines, the selected row (e.g., ROW X) is disabledas indicated by “Close Row X,” which can be accomplished by the accesstransistor turning off to decouple the selected cell from thecorresponding data line. Once the selected row is closed and the memorycell is isolated from the data lines, the data lines can be prechargedas indicated by the “Precharge” in the pseudo code above. A precharge ofthe data lines can be accomplished by an equilibrate operation, asdescribed above.

According to various embodiments, general computing can be enabled in amemory array core of a processor-in-memory (PIM) device such as a DRAMone transistor per memory cell (e.g., 1T1C) configuration at6F{circumflex over ( )}2 or 4F{circumflex over ( )}2 memory cell sizes,for example. The advantage of the apparatuses and methods describedherein is not realized in terms of single instruction speed, but ratherthe cumulative speed that can be achieved by an entire bank of databeing computed in parallel without ever transferring data out of thememory array (e.g., DRAM) or firing a column decode. In other words,data transfer time can be eliminated. For example, apparatus of thepresent disclosure can perform ANDs or ORs simultaneously using datavalues in memory cells coupled to a data line (e.g., a column of 16Kmemory cells).

In previous approach sensing circuits where data is moved out forlogical operation processing (e.g., using 32 or 64 bit registers), feweroperations can be performed in parallel compared to the apparatus of thepresent disclosure. In this manner, significantly higher throughput iseffectively provided in contrast to conventional configurationsinvolving a central processing unit (CPU) discrete from the memory suchthat data must be transferred therebetween. An apparatus and/or methodsaccording to the present disclosure can also use less energy/area thanconfigurations where the CPU is discrete from the memory. Furthermore,an apparatus and/or methods of the present disclosure can improve uponthe smaller energy/area advantages since the in-memory-array logicaloperations save energy by eliminating certain data value transfers.

FIG. 7 is a schematic diagram illustrating sensing circuitry havingselectable logical operation selection logic in accordance with a numberof embodiments of the present disclosure. FIG. 7 shows a sense amplifier706 coupled to a pair of complementary sense lines 705-1 and 705-2, anda compute component 731 coupled to the sense amplifier 706 via passgates 707-1 and 707-2. The gates of the pass gates 707-1 and 707-2 canbe controlled by a logical operation selection logic signal, PASS, whichcan be output from logical operation selection logic 713-5. FIG. 7 showsthe compute component 731 labeled “A” and the sense amplifier 706labeled “B” to indicate that the data value stored in the computecomponent 731 is the “A” data value and the data value stored in thesense amplifier 706 is the “B” data value shown in the logic tablesillustrated with respect to FIG. 8.

The sensing circuitry 750 illustrated in FIG. 7 includes logicaloperation selection logic 713-5. In this example, the logic 713-5comprises swap gates 742 controlled by a logical operation selectionlogic signal PASS*. The logical operation selection logic 713-5 alsocomprises four logic selection transistors: logic selection transistor762 coupled between the gates of the swap transistors 742 and a TFsignal control line, logic selection transistor 752 coupled between thegates of the pass gates 707-1 and 707-2 and a TT signal control line,logic selection transistor 754 coupled between the gates of the passgates 707-1 and 707-2 and a FT signal control line, and logic selectiontransistor 764 coupled between the gates of the swap transistors 742 anda FF signal control line. Gates of logic selection transistors 762 and752 are coupled to the true sense line (e.g., 705-1) through isolationtransistor 781-1 (having a gate coupled to an ISO signal control line),and gates of logic selection transistors 764 and 754 are coupled to thecomplementary sense line (e.g., 705-2) through isolation transistor781-2 (also having a gate coupled to an ISO signal control line).

Logic selection transistors 752 and 754 are arranged similarly totransistor 407-1 (coupled to an AND signal control line) and transistor407-2 (coupled to an OR signal control line) respectively, as shown inFIG. 4. Operation of logic selection transistors 752 and 754 are similarbased on the state of the TT and FT selection signals and the datavalues on the respective complementary sense lines at the time the ISOsignal is asserted. Logic selection transistors 762 and 764 also operatein a similar manner to control continuity of the swap transistors 742.That is, to OPEN (e.g., turn on) the swap transistors 742, either the TFcontrol signal is activated (e.g., high) with data value on the truesense line being “1,” or the FF control signal is activated (e.g., high)with the data value on the complement sense line being “1.” If eitherthe respective control signal or the data value on the correspondingsense line (e.g., sense line to which the gate of the particular logicselection transistor is coupled) is not high, then the swap transistors742 will not be OPENed by a particular logic selection transistor.

The PASS* control signal is not necessarily complementary to the PASScontrol signal. For instance, it is possible for the PASS and PASS*control signals to both be activated or both be deactivated at the sametime. However, activation of both the PASS and PASS* control signals atthe same time shorts the pair of complementary sense lines together,which may be a disruptive configuration to be avoided. Logicaloperations results for the sensing circuitry illustrated in FIG. 7 aresummarized in the logic table illustrated in FIG. 8.

FIG. 8 is a logic table illustrating selectable logic operation resultsimplementable by the sensing circuitry shown in FIG. 7 in accordancewith a number of embodiments of the present disclosure. The four logicselection control signals (e.g., TF, TT, FT, and FF), in conjunctionwith a particular data value present on the complementary sense lines,can be used to select one of plural logical operations to implementinvolving the starting data values stored in the sense amplifier 706 andcompute component 731. The four control signals, in conjunction with aparticular data value present on the complementary sense lines, controlsthe continuity of the pass gates 707-1 and 707-2 and swap transistors742, which in turn affects the data value in the compute component 731and/or sense amplifier 706 before/after firing. The capability toselectably control continuity of the swap transistors 742 facilitatesimplementing logical operations involving inverse data values (e.g.,inverse operands and/or inverse result), among others.

The logic table illustrated in FIG. 8 shows the starting data valuestored in the compute component 731 shown in column A at 844, and thestarting data value stored in the sense amplifier 706 shown in column Bat 845. The other 3 top column headings (NOT OPEN, OPEN TRUE, and OPENINVERT) in the logic table of FIG. 8 refer to the continuity of the passgates 707-1 and 707-2, and the swap transistors 742, which canrespectively be controlled to be OPEN or CLOSED depending on the stateof the four logic selection control signals (e.g., TF, TT, FT, and FF),in conjunction with a particular data value present on the pair ofcomplementary sense lines 705-1 and 705-2 when the ISO control signal isasserted. The “Not Open” column corresponds to the pass gates 707-1 and707-2 and the swap transistors 742 both being in a non-conductingcondition, the “Open True” corresponds to the pass gates 707-1 and 707-2being in a conducting condition, and the “Open Invert” corresponds tothe swap transistors 742 being in a conducting condition. Theconfiguration corresponding to the pass gates 707-1 and 707-2 and theswap transistors 742 both being in a conducting condition is notreflected in the logic table of FIG. 8 since this results in the senselines being shorted together.

Via selective control of the continuity of the pass gates 707-1 and707-2 and the swap transistors 742, each of the three columns of thefirst set of two rows of the upper portion of the logic table of FIG. 8can be combined with each of the three columns of the second set of tworows below the first set to provide 3×3=9 different result combinations,corresponding to nine different logical operations, as indicated by thevarious connecting paths shown at 875. The nine different selectablelogical operations that can be implemented by the sensing circuitry 750are summarized in the logic table illustrated in FIG. 8.

The columns of the lower portion of the logic table illustrated in FIG.8 show a heading 880 that includes the state of logic selection controlsignals. For example, the state of a first logic selection controlsignal is provided in row 876, the state of a second logic selectioncontrol signal is provided in row 877, the state of a third logicselection control signal is provided in row 878, and the state of afourth logic selection control signal is provided in row 879. Theparticular logical operation corresponding to the results is summarizedin row 847.

As such, the sensing circuitry shown in FIG. 7 can be used to performvarious logical operations as shown in FIG. 8. For example, the sensingcircuitry 750 can be operated to perform various logical operations(e.g., AND and OR logical operations) in association with comparing datapatterns in memory in accordance with a number of embodiments of thepresent disclosure.

CONCLUSION

The present disclosure includes apparatuses and methods related toperforming comparison operations in a memory. An example apparatus mightinclude a first address space of a memory array comprising a firstnumber of memory cells coupled to a sense line and to a first number ofselect lines. A first value can be stored in the first address space. Asecond address space of the memory array comprises a second number ofmemory cells coupled to the sense line and to a second number of selectlines. A second value can be stored in the second address space. A thirdaddress space of the memory array comprises a third number of memorycells coupled to the sense line and to a third number of select lines. Aresult can be stored in the third address space. Sensing circuitry canbe configured to receive the first value and the second value, comparethe first value with the second value to determine which of the firstvalue and the second value is greater, and store the result of thecomparison operation in the third address space.

Although specific embodiments have been illustrated and describedherein, those of ordinary skill in the art will appreciate that anarrangement calculated to achieve the same results can be substitutedfor the specific embodiments shown. This disclosure is intended to coveradaptations or variations of one or more embodiments of the presentdisclosure. It is to be understood that the above description has beenmade in an illustrative fashion, and not a restrictive one. Combinationof the above embodiments, and other embodiments not specificallydescribed herein will be apparent to those of skill in the art uponreviewing the above description. The scope of the one or moreembodiments of the present disclosure includes other applications inwhich the above structures and methods are used. Therefore, the scope ofone or more embodiments of the present disclosure should be determinedwith reference to the appended claims, along with the full range ofequivalents to which such claims are entitled.

In the foregoing Detailed Description, some features are groupedtogether in a single embodiment for the purpose of streamlining thedisclosure. This method of disclosure is not to be interpreted asreflecting an intention that the disclosed embodiments of the presentdisclosure have to use more features than are expressly recited in eachclaim. Rather, as the following claims reflect, inventive subject matterlies in less than all features of a single disclosed embodiment. Thus,the following claims are hereby incorporated into the DetailedDescription, with each claim standing on its own as a separateembodiment.

What is claimed is:
 1. An apparatus, comprising: control circuitry of amemory device configured to control sensing circuitry coupled to anarray of memory cells of the memory device to: perform a plurality oflogical operations to compare a first value to a second value, whereinfirst data representative of the first value is stored in a firstportion of a number of memory cells coupled to a sense line of the arrayof memory cells, and wherein second data representative of the secondvalue is stored in a second portion of the number of memory cells; andsequentially activate a single select line coupled to one of the numberof memory cells at a time to perform at least one of the plurality oflogical operations.
 2. The apparatus of claim 1, wherein the controlcircuitry is further configured to control the sensing circuitry tostore a result of the plurality of logical operations in a third portionof the number of memory cells.
 3. The apparatus of claim 1, wherein thecontrol circuitry is further configured to control the sensing circuitryto perform the plurality of logical operations to determine whether thefirst value is different than the second value.
 4. The apparatus ofclaim 1, wherein the control circuitry is further configured to controlthe sensing circuitry to perform the plurality of logical operations todetermine whether the second value is greater than the first value. 5.The apparatus of claim 1, wherein the control circuitry is furtherconfigured to control the sensing circuitry to perform the plurality oflogical operations to determine whether the first value is greater thanthe second value.
 6. The apparatus of claim 1, wherein the controlcircuitry is further configured to control the sensing circuitry toperform the plurality of logical operations to determine whether thefirst value is equal to the second value.
 7. A system, comprising: ahost device configured to generate instructions; and a memory deviceconfigured to execute instructions from the host device to: write, tofirst memory cells coupled to a sense line of an array of memory cells,first data representative of a first value; write, to second memorycells coupled to the sense line, second data representative of a secondvalue; and activate, sequentially, individually, and independently,select lines coupled to the first and second memory cells to compare thefirst value to the second value, wherein the memory device compriseslogical operation selection logic coupled to the first and second senselines and configured to indicate, a plurality of logical operations tobe performed to compare the first value to the second value.
 8. Thesystem of claim 7, wherein the memory device is further configured toprovide results of the plurality of logical operations to the hostdevice.
 9. The system of claim 7, wherein the host device comprises atleast one processing device; wherein the first data comprises abit-vector, and wherein the memory device is further configured to writeeach respective bit of the bit-vector to a respective one of the firstmemory cells.
 10. The system of claim 7, wherein the second datacomprises a bit-vector, and wherein the memory device is furtherconfigured to write each respective bit of the bit-vector to arespective one of the second memory cells.
 11. The system of claim 7,wherein the memory device is further configured to activate,sequentially, individually, and independently, the select lines coupledto the first and second memory cells to compare respective bits of thefirst data to corresponding, respective bits of the second data.
 12. Anapparatus, comprising: sensing circuitry comprising respective senseamplifiers and respective compute components coupled to each of aplurality of pairs of complementary sense lines of an array of memorycells, wherein the sensing circuitry is configured to perform a sequenceof logical operations, using the compute components, on: first datarepresentative of first values stored by first memory cells of the arrayof memory cells; and second data representative of second values storedby second memory cells of the array of memory cells, wherein performanceof the sequence of logical operations comprises: a comparison of thefirst values to the second values; and sequential, individual, andindependent activation of select lines of the array of memory cellscoupled to the first and second memory cells, and wherein the sensingcircuitry further comprises logical operation selection logic coupled tothe plurality of pairs of complementary sense lines and configured toindicate, to the compute components, each logical operation of thesequence to be performed.
 13. The apparatus of claim 12, wherein thefirst memory cells are coupled to the plurality of pairs ofcomplementary sense lines, and wherein the sensing circuitry is furtherconfigured to perform the sequence of logical operations, in parallel,on the first values stored by the first memory cells.
 14. The apparatusof claim 13, wherein the second memory cells are coupled to theplurality of pairs of complementary sense lines, and wherein the sensingcircuitry is further configured to perform the sequence of logicaloperations, in parallel, on the second values stored by the secondmemory cells.
 15. The apparatus of claim 12, wherein the sensingcircuitry is further configured to write, to third memory cells of thearray of memory cells, results of respective comparisons of the firstvalues to the second values.
 16. The apparatus of claim 15, wherein thefirst, second, and third memory cells are coupled to the plurality ofpairs of complementary sense lines.
 17. The apparatus of claim 16,wherein each respective result of a comparison of comprises dataindicative of one of: a respective first value being greater than arespective second value; the respective first value being less than therespective second value; and the respective first value being equal tothe respective second value.
 18. The apparatus of claim 12, wherein thelogical operation selection logic comprises: a first pair of transistorscoupled to a first pair of signal lines; and a second pair oftransistors coupled to a second pair of signal lines, and wherein thelogical operation selection logic is further configured to indicate eachlogical operation of the sequence to be performed based on respectivesignaling provided to the first and second pairs of signal lines. 19.The apparatus of claim 12, wherein the compute component comprisestransistors formed on pitch with transistors of the sense amplifier. 20.An apparatus, comprising: sensing circuitry comprising respective senseamplifiers and respective compute components coupled to each of aplurality of pairs of complementary sense lines of an array of memorycells, wherein the sensing circuitry is configured to: perform asequence of logical operations, using the compute components, on: firstdata representative of first values stored by first memory cells of thearray of memory cells; and second data representative of second valuesstored by second memory cells of the array of memory cells; and write,to third memory cells of the array of memory cells, results ofrespective comparisons of the first values to the second values, whereinthe first, second, and third memory cells are coupled to the pluralityof pairs of complementary sense lines, wherein performance of thesequence of logical operations comprises: a comparison of the firstvalues to the second values; and sequential, individual, and independentactivation of select lines of the array of memory cells coupled to thefirst and second memory cells, and wherein each respective result of acomparison of comprises data indicative of one of: a respective firstvalue being greater than a respective second value; the respective firstvalue being less than the respective second value; and the respectivefirst value being equal to the respective second value.